RefinementWebPart.RenderWebPart Method
Renders the HTML for the body of a Web Part output object.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.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.HtmlTextWriterThe HtmlTextWriter object that receives the Web Part content.
Remarks
If the page must be refreshed to see the results and no errors occurred during initialization or validation, this method renders a message to refresh the page in the HTML and returns.
Otherwise, if the value of the ShowMessages property is false, this method renders the HTML, sets the accesskey property to W and returns.
Otherwise, if there are any fatal messages, this override renders the fatal error messages and returns.