Ctor - The page constructor is called. It does basic initialization
but server controls have not been created yet.
PreInit (new to v2) - The page instance is created. Server
controls are created. Some basic properties of the page are set. Overridable
theme properties are applied to controls at this point. Any attributes defined
in the ASPX page are pushed to the controls at this phase.
Init - The page controls are initialized. However at this
point any postback data has not yet been applied. Any control properties can
be overridden at this point. For themes that override any existing settings they
are applied here. This is a good place to do any initialization that might
prevent the page from displaying such as security checks or whatnot.
PreLoad - The page is being loaded. This is the last event
to be raised before postback data is applied.
Load - The page is loaded. Postback data has been applied
and view state is restored. This is the most common event handled. Any
data that is needed for rendering is generally loaded at this time.
PreRender - The page is preparing to render. Any pre-rendering
steps should occur here such as the creation of any dynamic controls that will ultimately
be rendered. This event is almost exclusively handled in server controls only.
It is the last time a control can make any persistent changes before rendering.
SaveStateComplete - This is important. This event is raised
AFTER view state is saved. Any property changes made after this point will
be lost after rendering. They will not be persisted.
Render - The page is rendered. Again this event is normally
only used in server controls. Server controls render there content at this
point.
Unload - The page is finished and preparing to be unloaded.
Any cleanup needed from the load process should be done here.