SPWebPartManager.OnInit Method
Handles the Init event.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Protected Overrides Sub OnInit ( _
e As EventArgs _
)
'Usage
Dim e As EventArgs
Me.OnInit(e)
protected override void OnInit(
EventArgs e
)
Parameters
e
Type: System.EventArgsThe data for the event.
Remarks
This override assigns appropriate handler methods for the InitComplete, LoadComplete and PreRenderComplete events before calling the base OnInit(EventArgs) method.