From now and then I forget the life cycle of ASP.NET pages.
In the CodeProject website I found a wonderfull article: http://www.codeproject.com/KB/aspnet/ASPNET_Page_Lifecycle.aspx
If you really don't want to read, here is what you need to know and memorize (SILVER):
S - Start
I - Initialize
L - Load
V - Validate
E - Event Handling
R - Render
Some add "U" (SILVER-U) for "Unload"
And in a more detailed way, the methods are:
- Construct
- ProcessRequest
- FrameworkInitialize
- InitializeCulture
- If child controls are present:
- AddParsedSubObject
- CreateControlCollection
- AddedControl
- ResolveAdapter
- DeterminePostBackMode
- OnPreInit
- OnInit
- TrackViewState
- OnInitComplete
- OnPreLoad
- OnLoad
- OnLoadComplete
- EnsureChildControls
- CreateChildControls
- OnPreRender
- OnPreRenderComplete
- SaveViewState
- OnSaveStateComplete
- CreateHtmlTextWriter
- RenderControl
- Render
- RenderChildren
- VerifyRenderingInServerForm
- OnUnload
- Dispose
Hope it'll help you in any way.... I know it helps me.
