Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnLoad Method

DataBoundControl.OnLoad Method

Handles the Control.Load event.

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

'Declaration
Protected Friend Overrides Sub OnLoad ( _
	e As EventArgs _
)

Parameters

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft