HtmlControl.RenderBeginTag Method (HtmlTextWriter)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Renders the opening HTML tag of the control into the specified HtmlTextWriter object.

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

protected virtual void RenderBeginTag(
	HtmlTextWriter writer


Type: System.Web.UI.HtmlTextWriter

The HtmlTextWriter that receives the rendered content.

The RenderBeginTag method renders the opening angle bracket (<), followed by the control's tag name, attributes, and a closing angle bracket (>).

The RenderBeginTag method is used primarily by control developers extending the functionality of the HtmlControl control.

.NET Framework
Available since 1.1
Return to top