DataSourceReplacer.OnInit Method
Raises the Init event.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Protected Overrides Sub OnInit ( _
e As EventArgs _
)
'Usage
Dim e As EventArgs
Me.OnInit(e)
protected override void OnInit(
EventArgs e
)
Parameters
- e
Type: System.EventArgs
The data for the event.
Remarks
This override finds the data source control that implements the IDataSource interface and data-bound control that is referred by the ControlID property, then uses the data source control to replace the data source of the data-bound control.