P
Peter Kirk
Hi
I have an ascx (MainCalendarControl.ascx), which includes another ascx, by
using this statement at the top of MainCalendarControl.ascx:
Register TagPrefix="CalendarUI" TagName="ActivityListControl"
Src="ActivityCalendar.ActivityListControl.ascx"
Then there are various tables etc in MainCalendarControl.ascx to display
some data, and last:
<
CALENDARUI:ACTIVITYLISTCONTROL id="activityList"
runat="server"></CALENDARUI:ACTIVITYLISTCONTROL
What order should the page display be generated? It appears the Page_Load
method in the included ActivityListControl.ascx is called before the
Page_Load in the containing MainCalendarControl.ascx - is this correct?
And it also appears that the Page_Load method in ActivityListControl.ascx is
called twice - why would this be?
That is, the order of calls to Page_Load is:
ActivityListControl.ascx Page_Load
MainCalendarControl.ascx Page_Load
ActivityListControl.ascx Page_Load
Thanks for any comments,
Peter
I have an ascx (MainCalendarControl.ascx), which includes another ascx, by
using this statement at the top of MainCalendarControl.ascx:
Register TagPrefix="CalendarUI" TagName="ActivityListControl"
Src="ActivityCalendar.ActivityListControl.ascx"
Then there are various tables etc in MainCalendarControl.ascx to display
some data, and last:
<
CALENDARUI:ACTIVITYLISTCONTROL id="activityList"
runat="server"></CALENDARUI:ACTIVITYLISTCONTROL
What order should the page display be generated? It appears the Page_Load
method in the included ActivityListControl.ascx is called before the
Page_Load in the containing MainCalendarControl.ascx - is this correct?
And it also appears that the Page_Load method in ActivityListControl.ascx is
called twice - why would this be?
That is, the order of calls to Page_Load is:
ActivityListControl.ascx Page_Load
MainCalendarControl.ascx Page_Load
ActivityListControl.ascx Page_Load
Thanks for any comments,
Peter