Page Lifecycle of Asp.net 2.0
One of the most important things to understand when building Web applications with ASP.NET is the sequence of events during the processing of a page.
Method names and the events they bind to in ASP.NET 2.0
Method Name------------Event
Page_PreInit-----------Page.PreInit
Page_Init--------------Control.Init
Page_InitComplete------Page.InitComplete
Page_PreLoad-----------Page.PreLoad
Page_Load--------------Control.Load
Page_LoadComplete------Page.LoadComplete
Page_PreRender---------Control.PreRender
Page_DataBind----------Control.DataBinding
Page_PreRenderComplete-Page.PreRenderComplete
Page_SaveStateComplete-Page.SaveStateComplete
Page_Unload------------Control.Unload
Page_Error-------------TemplateControl.Error
Page_AbortTransaction--TemplateControl.AbortTransaction
OnTransactionAbort --TemplateControl.AbortTransaction
Page_CommitTransaction-TemplateControl.CommitTransaction
OnTransactionCommit----TemplateControl.CommitTransaction
No comments:
Post a Comment