ColleaguesWebPart.RenderWebPart Method
Renders the HTML for the body of the ColleaguesWebPartWebPart to the client.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Protected Overrides Sub RenderWebPart ( _
output As HtmlTextWriter _
)
'Usage
Dim output As HtmlTextWriter
Me.RenderWebPart(output)
protected override void RenderWebPart(
HtmlTextWriter output
)
Parameters
- output
Type: System.Web.UI.HtmlTextWriter
The writer object that receives the WebPart content.
Remarks
This override renders the HTML to display the colleagues the user has shared with other users. If the current user is the profile owner, a link to manage their colleagues will also be displayed. This override may not be called in all situations. For example, it cannot be called when the ColleaguesWebPart is minimized, or if the current Page is being rendered to a non-HTML device.