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

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.

See Also

Reference

ThoughtViewerControl Class

ThoughtViewerControl Members

Microsoft.SharePoint.Portal.WebControls Namespace