ThoughtViewerControl.OnPreRender Method
Handles the PreRender event.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Protected Overrides Sub OnPreRender ( _
e As EventArgs _
)
'Usage
Dim e As EventArgs
Me.OnPreRender(e)
protected override void OnPreRender(
EventArgs e
)
Parameters
- e
Type: System.EventArgs
The data for the event.
Remarks
This override registers cascading style sheets (CSS) and JavaScript to the page. If the _ctlTag or _ctlItems controls cannot be displayed on the page, this override will make all the social data-related controls invisible, and display the PageLevelError1 control with an error message.