Export (0) Print
Expand All

WebPart.Render method

Renders the control to the specified HTML writer. This method is inherited from the System.Web.UI.Control class.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

protected override void Render(
	HtmlTextWriter writer
)

Parameters

writer
Type: System.Web.UI.HtmlTextWriter

The HtmlTextWriter object that receives the server control content.

Although the Render method of the WebPart base class is defined to be overridden, it is not recommended that you do so. Instead, to implement the rendering for a Web Part, override the RenderWebPart method.

Community Additions

Show:
© 2014 Microsoft