OnLoad Method

DataBoundControl.OnLoad Method (EventArgs)


Handles the Control.Load event.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected internal override void OnLoad(
	EventArgs e


Type: System.EventArgs

An EventArgs object that contains event data.

The DataBoundControl class calls the BaseDataBoundControl.ConfirmInitState method to set the initialized state of the data-bound control and sets the RequiresDataBinding property to true if the HTTP request is not a postback.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft