AskMeAboutWebPart.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 ( _
sender As Object, _
e As EventArgs _
)
'Usage
Dim sender As Object
Dim e As EventArgs
Me.OnPreRender(sender, e)
protected override void OnPreRender(
Object sender,
EventArgs e
)
Parameters
- sender
Type: System.Object
The sender of the event.
- e
Type: System.EventArgs
The data for the event.
Remarks
This override loads the list of keywords to be displayed when the control is rendered. If the owner profile does not exist, the AskMeAboutWebPart will be hidden on the page.