다음을 통해 공유


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

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.

See Also

Reference

DataSourceReplacer Class

DataSourceReplacer Members

Microsoft.SharePoint.Portal.WebControls Namespace