This topic has not yet been rated - Rate this topic

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)
protected override void OnInit(
	EventArgs e
)

Parameters

e
Type: System.EventArgs
The event arguments for this event.

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.