RenderWebPart(System.Web.UI.HtmlTextWriter) Method

The RenderWebPart method of the QueryResultBase class overrides the Microsoft.SharePoint.WebPartPages.WebPart.RenderWebPart method. This method renders the HTML for the body of this Web Part to the client.


writer The HtmlTextWriter object that receives the WebPart content.


The RenderWebPart method may not be called in all cases (for example, when the Web Part is minimized, or if the page is being rendered to a non-HTML device).


Platforms: Microsoft Windows Server 2003

Security: Code Access Security