Wednesday, May 07, 2008

What is ASP.NET 2.0 Page Life Cycle?

Main Events
=============
1. OnPreInit
2. OnInit
3. OnInitComplete
4. LoadViewState
5. OnPreLoad
6. OnLoad
7. RaisePostBackEvent
8. OnLoadComplete
9. OnPreRender
10. OnPreRenderComplete
11. SaveViewState
12. OnRender
13. OnUnload

Detailed Events
============
1. Constructor
2. Construct
3. TestDeviceFilter
4. AddParsedSubObject
5. DeterminePostBackMode
6. OnPreInit
7. LoadPersonalizationData
8. InitializeThemes
9. OnInit
10. ApplyControlSkin
11. ApplyPersonalization
12. OnInitComplete
13. LoadPageStateFromPersistenceMedium
14. LoadControlState
15. LoadViewState
16. ProcessPostData1
17. OnPreLoad
18. OnLoad
19. ProcessPostData2
20. RaiseChangedEvents
21. RaisePostBackEvent
22. OnLoadComplete
23. OnPreRender
24. OnPreRenderComplete
25. SavePersonalizationData
26. SaveControlState
27. SaveViewState
28. SavePageStateToPersistenceMedium
29. Render
30. OnUnload

 

For more visit http://dotnetfunda.com/interview/interview.aspx?qid=11

No comments: