Asp.net page events fire order
Microsoft’s article on this is more detailed than the following table.
Here is a quick summary of the page events and their load order. Taken from AspAlliance
Page Events Summary
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 |