WebControlAdapter::Render Method (HtmlTextWriter^)

 

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)

public protected:
virtual void Render(
	HtmlTextWriter^ writer
) override

Parameters

writer
Type: System.Web.UI::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.

.NET Framework
Available since 2.0
Return to top
Show: