PreInit | - Set Master Page
- Set page theme
- Create dynamically created controls on a page not having a master page
|
Init | Fires after each control has been initialized- Change initialization values for controls
- Dynamically add controls to a content page.
|
InitComplete | Fires after all initializations (of page/controls) are completed. |
PreLoad | Fires before view state has been loaded, and before postback processing |
Load | Page is stable, having been initialized and its state been reconstructed. The page's load event is called first, then that for its child controls, then their child controls, etc. |
Control (postback) events | For example: button Click event |
LoadComplete | Fires after all controls are loaded. |
PreRender | Fires after all regular postback events fire, but before ViewState is saved. Allows final changes to the page or its controls.- Make changes to ViewState
|
SaveStateComplete | Fires after ViewState (for page/controls) is set, so any change at or beyond this point is ignored. |
Render method | ASP.NET calls this method for each control to generate the HTML, DHTML, and scripts. |
Unload | - Cleanup code (rarely used)
|