BaseDataBoundControl.OnInit Method
.NET Framework 3.0
Handles the Init event.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
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.
Community Additions
ADD
Show: