單獨一個PAGE的狀況:
1. PreInit
2. Init
3. PreLoad
4. Load
5. Load Complete
6. PreRender
7. PreRender Complete
8. Unload
考慮比較複雜的狀況:
有Content page、Master page以及User Control(包括Content page controls及Master page controls)
1.Content page PreInit event.
2.Master page controls Init event.
3.Content page controls Init event.
4.Master page Init event.
5.Content page Init event.
6.Content page Load event.
7.Master page Load event.
8.Master page controls Load event.
9.Content page controls Load event.
10.Content page PreRender event.
11.Master page PreRender event.
12.Master page controls PreRender event.
13.Content page controls PreRender event.
14.Master page controls Unload event.
15.Content page controls Unload event.
16.Master page Unload event.
17.Content page Unload event.
Microsoft提供下圖做為參考(但是不含MasterPage)
沒有留言:
張貼留言