This documentation is archived and is not being maintained.

WebControlAdapter.Render Method

Note: This method is new in the .NET Framework version 2.0.

Generates the target-specific markup for the control to which the control adapter is attached.

Namespace: System.Web.UI.WebControls.Adapters
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



The HtmlTextWriter containing methods to render the target-specific output.

The Render method generates target-specific markup to send to the client browser. Render is called in place of the WebControl.Render method if a WebControlAdapter object is attached to a WebControl object.

Notes to Inheritors The Render base method calls RenderBeginTag, then RenderContents, and then RenderEndTag. If you override Render and do not call the base method, you must be sure to provide this functionality.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, 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