System.Web.UI.HtmlControls.HtmlInputControl.RenderAttributes Method

Renders the attributes of the System.Web.UI.HtmlControls.HtmlInputControl control to the specified System.Web.UI.HtmlTextWriter object.

Syntax

protected override void RenderAttributes (System.Web.UI.HtmlTextWriter writer)

Parameters

writer
The System.Web.UI.HtmlTextWriter that contains the output stream to render to the client.

Remarks

The HtmlInputControl.RenderAttributes(System.Web.UI.HtmlTextWriter) method renders a name attribute and type attribute before calling the base class's HtmlControl.RenderAttributes(System.Web.UI.HtmlTextWriter) method.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0