EntityEditor.OnInit Method
Overrides implementation of OnInit. Calls the base class implementation of OnInit in Webcontrol.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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 event arguments for this event.
Remarks
This method is called when the EntityEditor control is initialized. OnInit(EventArgs) ensures that the EntityEditor control registers with the post-back and is validated. If validators are enabled, OnInit(EventArgs) adds them to the Page. OnInit(EventArgs) adds an event handler for the Page Load event.