DataBoundControl::OnLoad Method (EventArgs^)


Handles the Control::Load event.

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

public protected:
virtual void OnLoad(
	EventArgs^ e
) override


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