WebControl.RenderBeginTag(HtmlTextWriter) Method

Definition

Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.

C#
public virtual void RenderBeginTag(System.Web.UI.HtmlTextWriter writer);

Parameters

writer
HtmlTextWriter

A HtmlTextWriter that represents the output stream to render HTML content on the client.

Remarks

This is made public so other controls can render multiple controls in between the opening and closing tags of a Web server control.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also