ThoughtViewerControl.OnInit Method
Handles 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 registers the required event handlers for filtering the social collaboration items displayed in the _ctlItems control. If the current user is not the owner of the social data, this override will prevent the display of the “Private” and “Public” views in the _selView control. If the user profile information cannot be loaded, an error message is displayed.