M
Martijn Saly
Hi there,
I've created a master page with some controls on it, a Calendar control
among others. Now depending on the date(s) selected, the content page needs
to be updated. In the masterpage I've created StartDate and EndDate
properties, which are basically wrappers around the SelectedDates property
from the Calendar control.
When I select another date in the Calendar, the page updates normally, but
when Page_Load for the content page fires, the selected dates aren't updated
yet. The problem is probably that the content page gets updated first, and
then the master page.
How do I work around this problem? Or is this more like a bug in the
framework? Matbe what should happen, is that both the master page *and* the
content page should be updated, and *then* the Page_Load event(s) should be
called.
Anyone has any input on this?
I've created a master page with some controls on it, a Calendar control
among others. Now depending on the date(s) selected, the content page needs
to be updated. In the masterpage I've created StartDate and EndDate
properties, which are basically wrappers around the SelectedDates property
from the Calendar control.
When I select another date in the Calendar, the page updates normally, but
when Page_Load for the content page fires, the selected dates aren't updated
yet. The problem is probably that the content page gets updated first, and
then the master page.
How do I work around this problem? Or is this more like a bug in the
framework? Matbe what should happen, is that both the master page *and* the
content page should be updated, and *then* the Page_Load event(s) should be
called.
Anyone has any input on this?