ViewPage<TModel> Events

The ViewPage<TModel> type exposes the following members.

Public event AbortTransaction Occurs when a user ends a transaction. (Inherited from TemplateControl.)
Public event CommitTransaction Occurs when a transaction completes. (Inherited from TemplateControl.)
Public event DataBinding Occurs when the server control binds to a data source. (Inherited from Control.)
Public event Disposed Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from Control.)
Public event Error Occurs when an unhandled exception is thrown. (Inherited from TemplateControl.)
Public event Init Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from Control.)
Public event InitComplete Occurs when page initialization is complete. (Inherited from Page.)
Public event Load Occurs when the server control is loaded into the Page object. (Inherited from Control.)
Public event LoadComplete Occurs at the end of the load stage of the page's life cycle. (Inherited from Page.)
Public event PreInit Occurs at the beginning of page initialization. (Inherited from Page.)
Public event PreLoad Occurs before the page Load event. (Inherited from Page.)
Public event PreRender Occurs after the Control object is loaded but prior to rendering. (Inherited from Control.)
Public event PreRenderComplete Occurs before the page content is rendered. (Inherited from Page.)
Public event SaveStateComplete Occurs after the page has completed saving all view state and control state information for the page and controls on the page. (Inherited from Page.)
Public event Unload Occurs when the server control is unloaded from memory. (Inherited from Control.)