Monday, November 5, 2007

life of an ASP.NET page

The ASP.NET Page Object Model-life of an ASP.NET page

Stage

Page Event

Overridable method

Page initialization

Init


View state loading


LoadViewState

Postback data processing


LoadPostData method in any control that implements the IPostBackDataHandler interface

Page loading

Load


Postback change notification


RaisePostDataChangedEvent method in any control that implements the IPostBackDataHandler interface

Postback event handling

Any postback event defined by controls

RaisePostBackEvent method in any control that implements the IPostBackEventHandler interface

Page pre-rendering phase

PreRender


View state saving


SaveViewState

Page rendering


Render

Page unloading

Unload


No comments: