Export (0) Print
Expand All

WebControl.Render Method

Renders the control to the specified HTML writer.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

protected internal override void Render (
	HtmlTextWriter writer
)
protected void Render (
	HtmlTextWriter writer
)
protected internal override function Render (
	writer : HtmlTextWriter
)

Parameters

writer

The HtmlTextWriter object that receives the control content.

The Render method is used primarily by control developers.

The Render method sends the Web control to the specified HtmlTextWriter instance. Override this method to send your custom server control to the client.

The Render method first calls the RenderBeginTag method, then the RenderContents method, and finally the RenderEndTag method to send the control to the client.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft