Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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
)
Not applicable.

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 Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.