Various Page lifecycle events are listed below :
- PreInit - Check IsPostBack Property , Create dynamic controls , Set Master page , Theme and Profile properties dynamically.
- Init - Read and Initialize control properties
- InitComplete
- PreLoad - Use this event if one wants to do something before Page or Control load
- Load - Set Control properties etc.
- Control Events - Handle Events specific to controls like button , link etc
- LoadComplete
- PreRender - occurs for each control on the page. Use the event to make final changes to the contents of the page or its controls.
- SaveStateComplete - perform tasks that require view state to be saved, but that do not make any changes to controls.
- Render - calls this method on each control.
- Unload - occurs for each control and then for the page.
No comments:
Post a Comment