If we assume that Controls is a placeholder for all the controls available in a web page the following is the sequence of the events in which they are fired.
1) Page_PreInit
2) Controls_Init
3) Page_Init
4) Page_InitComplete
5) Page_PreLoad
6) Page_Load
7) Controls_Load
8) Page_LoadComplete
9) Page_PreRender
10) Controls_PreRender
11) Page_PreRenderComplete
12) Page_SaveStateComplete
13) Controls_Unload
14) Page_Unload
And if a master page is implemented
1) Content Page_PreInit
2) Content Controls_Init
3) Master Controls_Init
4) Master Page_Init
5) Content Page_Init
6) Content Page_InitComplete
7) Content Page_PreLoad
8) Content Page_Load
9) Master Page_Load
10) Content Controls_Load
11) Master Controls_Load
12) Content Page_LoadComplete
13) Content Page_PreRender
14) Master Page_PreRender
15) Content Controls_PreRender
16) Master Controls_PreRender
17) Content Page_PreRenderComplete
18) Content Page_SaveStateComplete
19) Content Controls_Unload
20) Master Controls_Unload
21) Master Page_Unload
22) Content Page_Unload
No comments:
Post a Comment