Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RenderContents Method

WebControl.RenderContents Method

Renders the contents of the control into the specified writer. This method is used primarily by control developers.

[Visual Basic]
Protected Overridable Sub RenderContents( _
   ByVal writer As HtmlTextWriter _
)
[C#]
protected virtual void RenderContents(
 HtmlTextWriter writer
);
[C++]
protected: virtual void RenderContents(
 HtmlTextWriter* writer
);
[JScript]
protected function RenderContents(
   writer : HtmlTextWriter
);

Parameters

writer
A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

WebControl Class | WebControl Members | System.Web.UI.WebControls Namespace | RenderBeginTag | RenderEndTag | System.Web.UI.HtmlTextWriter

Show:
© 2015 Microsoft