Page.PreInit Event
.NET Framework 2.0
Occurs at the beginning of page initialization.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public Event PreInit As EventHandler 'Usage Dim instance As Page Dim handler As EventHandler AddHandler instance.PreInit, handler
/** @event */ public void add_PreInit (EventHandler value) /** @event */ public void remove_PreInit (EventHandler value)
In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.
The PreInit event is an event early in the page life cycle that you can access. After the PreInit event, personalization information and the page theme, if any, is loaded.
For more information about handling events, see Consuming Events.
Community Additions
ADD
Show: