The Page's event cycle listed in order of processing.
| Event | Description |
|---|
| OnInit() | Creates and initializes the Page and all the controls on it. |
| LoadViewState() | The ViewState information from the posted data on the page are decoded and all controls on the Page are updated to reflect the state of the controls as they where set, when sent to the client. |
| LoadPostData() | Process incoming form data. |
| OnLoad() | This is the most commonly used function member in the entire cycle. Controls are created, initialized, and the state is restored. |
| RaisePostDataChangedEvent() | The formdata is compared to the controls current state (as when initially sent from the server). If the state of a control changes, the appropriate event for a control is fired if it has a handler attached. |
| RaisePostBackEvent() | The special PostBack event's code is called. |
| OnPreRender() | This event allows a redo on all controls or the page just before it is being rendered and sent to the client. |
| SaveViewState() | All controls are saved to the hidden ViewState field and some encryption is performed. |
| Render() | Here the page is finally rendered to the stream that is sent to the client. |
| Dispose() | Page is disposed to release the objects from being in use. |
| OnUnLoad() | All server-side references to controls and the page itself are unloaded from memory. |