Thursday, July 23, 2009

Page Life cycle and its events

There is a complete cycle of an page, that is called the Page Life cycle. here are the various stages and the corresponding event for all that stages,

Page Initialization -- Page_Init

View State Loading -- LoadViewState

Postback data processing -- LoadPostData

Page Loading -- Page_Load

PostBack Change Notification -- RaisePostDataChangedEvent

PostBack Event Handling -- RaisePostBackEvent

Page Pre Rendering Phase -- Page_PreRender

View State Saving -- SaveViewState

Page Rendering -- Page_Render

Page Unloading -- Page_UnLoad

Happy Coding!!!!!!!!!!!!!!

Anil Kumar Pandey
System Architect
Green Point Technology (India) Ltd.
Mumbai, Maharshtra