Occurs at the beginning of page initialization.
Public Event PreInit As EventHandler
Dim instance As Page Dim handler As EventHandler AddHandler instance.PreInit, handler
public event EventHandler PreInit
public: event EventHandler^ PreInit { void add (EventHandler^ value); void remove (EventHandler^ value); }
JScript does not support events.
<asp:Page OnPreInit="EventHandler" />
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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98