ViewPage.OnPreInit Method
Raises the PreInit event at the beginning of page initialization.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overrides Sub OnPreInit ( _
e As EventArgs _
)
protected override void OnPreInit(
EventArgs e
)
protected:
virtual void OnPreInit(
EventArgs^ e
) override
Parameters
- e
Type: System.EventArgs
The event data.