October 2010
Intermediate to advanced
1920 pages
73h 55m
English
Whenever you request an ASP.NET page, a particular set of events is raised in a particular sequence. This sequence of events is called the page execution lifecycle.
For example, we have already used the Page Load event in previous code samples. You normally use the Page Load event to initialize the properties of controls contained in a page. However, the Page Load event is only one event supported by the Page class.
Following is the sequence of events raised whenever you request a page:
PreInitInitInitCompletePreLoadLoadLoadCompletePreRenderPreRenderCompleteSaveStateCompleteUnloadWhy so many events? Different things happen and different information is available at different stages in the page execution lifecycle. ...