Monday, June 4, 2007

Solid Gold Desert Eagle

order of events in the pages and ASP.NET controls

Programming ASP.NET pages and web controls is essential to bear in mind the function and the order of events that will be generated during the life of page.

the link http://aspalliance.com/articleViewer.aspx?aId=134&pId I found an excellent article by a full explanation of the problem.

The following table shows just the reference of the order of events.


Method PostBack Controls

Constructor Always All
AddParsedSubObject Always All
DeterminePostBackMode Always Page
OnInit Always All

LoadPageStateFromPersistenceMedium PostBack Page
LoadViewState PostBack All
ProcessPostData1 PostBack Page
OnLoad Always All

ProcessPostData2 PostBack Page
RaiseChangedEvents PostBack Page
RaisePostBackEvent PostBack Page
OnPreRender Always All

SaveViewState Always All
SavePageStateToPersistenceMedium Always Page
Render Always All
OnUnload Always All

0 comments:

Post a Comment