DataFormWebPart.RenderWebPart Method
Renders a complete WebPart control with all its sections.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.HtmlTextWriterThe HtmlTextWriter object that receives the rendered content.
Remarks
This method renders the entire control, with header, contents, and footer. Overriding this method gives a developer complete programmatic control over all rendering aspects.