Development With A Dot

Blog on development in general, and specifically on .NET

Sponsors

News

My Friends

My Links

Permanent Posts

Portuguese Communities

ASP.NET Events

Here is the full list of all events that occur in an ASP.NET application, from the standard modules, to the page, master page, page controls and master page controls.

What When
HttpApplication.BeginRequest
HttpApplication.AuthenticateRequest
HttpApplication.PostAuthenticateRequest
HttpApplication.AuthorizeRequest
HttpApplication.PostAuthorizeRequest
HttpApplication.ResolveRequestCache
HttpApplication.PostResolveRequestCache
HttpApplication.MapRequestHandler
HttpApplication.PostMapRequestHandler
HttpApplication.AcquireRequestState
HttpApplication.PostAcquireRequestState
HttpApplication.PreRequestHandlerExecute
Page.FrameworkInitialize
Page.InitializeCulture
Page.OnPreInit
MasterPage.FrameworkInitialize
MasterPageControl.FrameworkInitialize
PageControl.FrameworkInitialize
MasterPageControl.OnInit
PageControl.OnInit
MasterPage.OnInit
Page.OnInit
Page.OnInitComplete
Page.LoadPageStateFromPersistenceMedium If IsPostBack
Page.LoadControlState If IsPostBack
MasterPageControl.LoadControlState If IsPostBack, RegisterRequiresControlState was called and control state contains elements
PageControl.LoadControlState If IsPostBack, RegisterRequiresControlState was called and control state contains elements
MasterPageControl.LoadViewState If IsPostBack and ViewState contains elements
PageControl.LoadViewState If IsPostBack and ViewState contains elements
Page.OnPreLoad
Page.OnLoad
MasterPage.OnLoad
MasterPageControl.OnLoad
PageControl.OnLoad
{PageControl|MasterPageControl}.OnCustomEvent If a custom event was fired on a control declared on the page/master page
{PageControl|MasterPageControl}.OnBubbleEvent If a custom event was fired on a control declared on the page/master page
{Page|MasterPage}.OnBubbleEvent If a custom event was fired on a control declared on the page/master page
Page.OnBubbleEvent If a custom event was fired
Page.OnLoadComplete
ClientCallbackControl.RaiseCallbackEvent If in a client callback asynchronous request
ClientCallbackControl.GetCallbackResult If in a client callback asynchronous request
Page.OnPreRender If not in an asynchronous postback
MasterPage.OnPreRender If not in an asynchronous postback
MasterPageControl.OnPreRender If Visible
PageControl.OnPreRender If Visible and not in an asynchronous postback
Page.OnPreRenderComplete If not in an asynchronous postback
Page.SaveControlState If not in an asynchronous postback and RegisterRequiresControlState is called for the page and control state contains additiona values
MasterPageControl.SaveControlState If not in an asynchronous postback and RegisterRequiresControlState is called for the master page control and control state contains additiona values
PageControl.SaveControlState If not in an asynchronous postback and RegisterRequiresControlState is called for the page control and control state contains additiona values
Page.SaveViewState If not in an asynchronous postback
MasterPage.SaveViewState If not in an asynchronous postback
MasterPageControl.SaveViewState If not in an asynchronous postback
PageControl.SaveViewState If not in an asynchronous postback
Page.SavePageStateToPersistenceMedium If not in an asynchronous postback
Page.OnSaveStateComplete If not in an asynchronous postback
Page.Render If not in an asynchronous postback
MasterPage.Render If not in an asynchronous postback
MasterPageControl.Render If Visible and not in an asynchronous postback
PageControl.Render If Visible and not in an asynchronous postback
Page.OnCommitTransaction If Transaction = Required or RequiresNew and a transaction was committed or no transaction was created
Page.OnAbortTransaction If Transaction = Required or RequiresNew and a transaction was rolled back
MasterPageControl.OnUnload
MasterPageControl.Dispose
PageControl.OnUnload
PageControl.Dispose
MasterPage.OnUnload
MasterPage.Dispose
Page.OnUnload
Page.Dispose
HttpApplication.PostRequestHandlerExecute
HttpApplication.ReleaseRequestState
HttpApplication.PostReleaseRequestState
HttpApplication.UpdateRequestCache
HttpApplication.PostUpdateRequestCache
HttpApplication.LogRequest
HttpApplication.PostLogRequest
HttpApplication.EndRequest
HttpApplication.PreSendRequestHeaders
HttpApplication.PreSendRequestContent
Bookmark and Share
Posted: Jan 04 2010, 04:33 PM by Ricardo Peres | with 7 comment(s)
Filed under: ,

Comments

André Lage said:

Eheh where i saw this... :)

# January 7, 2010 12:14 PM

Ricardo Peres said:

But now it is revised and more complete! :-)

# January 8, 2010 4:50 AM

mvc noob said:

Do you have such a list for MVC controllers?

Thank.

# January 22, 2010 5:34 AM

Ricardo Peres said:

mvc noob:

sorry, I don't work with ASP.NET MVC... :-)

# January 29, 2010 6:38 AM