April 26, 2011 by Tapan Bhatt
-> Page
Init
Load
Prerender
Unload
-> Page with Master Page
Master_Init
Page_Init
Page_Load
Master_LOad
Page_Prerender
Master_Prerender
Master_Unload
Page_Unload
-> Page with Master Page with one user control
UC1_INit
Master_Init
Page_Init
Page_Load
Master_LOad
UC1_Load
Page_Prerender
Master_Prerender
UC1_Prerender
UC1_Unload
Master_Unload
Page_Unload
-> Page with Master Page with two user control
If Usercontrol is put as below in the page then…
If Usercontrol is put as below in the page then…
<asp:Content ID=”Content1″ ContentPlaceHolderID=”ContentPlaceHolder1″ runat=”server”>
<uc1:WebUserControl1 ID=”WebUserControl1_1″ runat=”server” />
<uc2:WebUserControl2 id=”WebUserControl2_1″ runat=”server”></uc2:WebUserControl2>
</asp:Content>
UC1_INit
UC2_INit
Master_Init
Page_Init
Page_Load
Master_LOad
UC1_Load
UC2_Load
Page_Prerender
Master_Prerender
UC1_Prerender
UC2_Prerender
UC1_Unload
UC2_Unload
Master_Unload
Page_Unload
-> Page with Master Page with two user control
If Usercontrol is put as below in the page then…
<asp:Content ID=”Content1″ ContentPlaceHolderID=”ContentPlaceHolder1″ runat=”server”>
<uc2:WebUserControl2 id=”WebUserControl2_1″ runat=”server”></uc2:WebUserControl2>
<uc1:WebUserControl1 ID=”WebUserControl1_1″ runat=”server” />
</asp:Content>
UC2_INit
UC1_INit
Master_Init
Page_Init
Page_Load
Master_LOad
UC2_Load
UC1_Load
Page_Prerender
Master_Prerender
UC2_Prerender
UC1_Prerender
UC2_Unload
UC1_Unload
Master_Unload
Page_Unload
Init
Load
Prerender
Unload
-> Page with Master Page
Master_Init
Page_Init
Page_Load
Master_LOad
Page_Prerender
Master_Prerender
Master_Unload
Page_Unload
-> Page with Master Page with one user control
UC1_INit
Master_Init
Page_Init
Page_Load
Master_LOad
UC1_Load
Page_Prerender
Master_Prerender
UC1_Prerender
UC1_Unload
Master_Unload
Page_Unload
-> Page with Master Page with two user control
If Usercontrol is put as below in the page then…
If Usercontrol is put as below in the page then…
<asp:Content ID=”Content1″ ContentPlaceHolderID=”ContentPlaceHolder1″ runat=”server”>
<uc1:WebUserControl1 ID=”WebUserControl1_1″ runat=”server” />
<uc2:WebUserControl2 id=”WebUserControl2_1″ runat=”server”></uc2:WebUserControl2>
</asp:Content>
UC1_INit
UC2_INit
Master_Init
Page_Init
Page_Load
Master_LOad
UC1_Load
UC2_Load
Page_Prerender
Master_Prerender
UC1_Prerender
UC2_Prerender
UC1_Unload
UC2_Unload
Master_Unload
Page_Unload
-> Page with Master Page with two user control
If Usercontrol is put as below in the page then…
<asp:Content ID=”Content1″ ContentPlaceHolderID=”ContentPlaceHolder1″ runat=”server”>
<uc2:WebUserControl2 id=”WebUserControl2_1″ runat=”server”></uc2:WebUserControl2>
<uc1:WebUserControl1 ID=”WebUserControl1_1″ runat=”server” />
</asp:Content>
UC2_INit
UC1_INit
Master_Init
Page_Init
Page_Load
Master_LOad
UC2_Load
UC1_Load
Page_Prerender
Master_Prerender
UC2_Prerender
UC1_Prerender
UC2_Unload
UC1_Unload
Master_Unload
Page_Unload
No comments:
Post a Comment