Not logged in - Login

Sequence of events for Pages, UserControls, MasterPages and HttpModules

The bulk of this information was pulled from the following web page: http://forums.asp.net/t/1191194.aspx
Another good source: http://www.cryer.co.uk/brian/csharp/ms_dotnet_order_of_page_events.htm

HttpModule

BeginRequest

AuthenticateRequest

PostAuthenticateRequest

PostAuthorizeRequest

ResolveRequestCache

PostResolveRequestCache

PostMapRequestHandler

AcquireRequestState

PostAcquireRequestState

PreRequestHandlerExecute

Page

PreInit

Init - ChildUserControl

Init - UserControl

Init - MasterPage

Init - Page

InitComplete - Page

LoadPageStateFromPersistenceMedium - Page

ProcessPostData (first try) - Page

PreLoad - Page

Load - Page

Load - MasterPage

Load - UserControl

Load - ChildUserControl

ProcessPostData (second try) - Page

RaiseChangedEvents - Page RaisePostBackEvent - Page

Click - Button - ChildUserControl

DataBinding - Page

DataBinding - MasterPage

DataBinding - UserControl

DataBinding - ChildUserControl

LoadComplete - Page

PreRender - Page

PreRender - MasterPage

PreRender - UserControl

PreRender - ChildUserControl

PreRenderComplete - Page

SaveViewState - Page

SavePageStateToPersistenceMedium - Page

SaveStateComplete - Page

Unload - ChildUserControl

Unload - UserControl

Unload - MasterPage

Unload - Page

HttpModule

PostRequestHandlerExecute

ReleaseRequestState

PostReleaseRequestState

UpdateRequestCache

PostUpdateRequestCache

EndRequest

PreSendRequestHeaders

PreSendRequestContent