System.Web.UI.WebControls.DataBoundControl.OnLoad Method

Handles the System.Web.UI.Control.Load event.

Syntax

protected override void OnLoad (EventArgs e)

Parameters

e
An EventArgs object that contains event data.

Remarks

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

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0