Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
User Action:

BaseDataBoundControl.OnInit Method (EventArgs)

 

Handles the Init event.

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

Protected Friend Overrides Sub OnInit (
	e As EventArgs
)

Parameters

e
Type: System.EventArgs

An EventArgs object that contains the event data.

The OnInit method first calls the base class OnInit method, and then calls the OnPagePreLoad method to handle the Page.PreLoad event. Additionally, if the HTTP request to the page is a post back and view state is enabled, the OnInit method sets the RequiresDataBinding property to true.

.NET Framework
Available since 2.0
Return to top