HtmlControl.RenderBeginTag Method (HtmlTextWriter)

 

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
)

Parameters

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
Show: