BaseDataBoundControl::OnInit Method (EventArgs^)
.NET Framework (current version)
Handles the Init event.
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: