WebControlAdapter.Render Method

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 public:
virtual void Render (
	HtmlTextWriter^ writer
) override
protected void Render (
	HtmlTextWriter writer
)
protected internal override function Render (
	writer : HtmlTextWriter
)
Not applicable.

Parameters

writer

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 Server 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 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

Community Additions

ADD
Show: