System.Web.UI.HtmlControls.HtmlSelect.RenderAttributes Method

Renders the System.Web.UI.HtmlControls.HtmlSelect control's attributes to the specified System.Web.UI.HtmlTextWriter object.

Syntax

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

Parameters

w
a System.Web.UI.HtmlTextWriter

Remarks

The HtmlSelect.RenderAttributes(System.Web.UI.HtmlTextWriter) method renders the name attribute of the System.Web.UI.HtmlControls.HtmlSelect control directly to ensure that it has the same value as the System.Web.UI.Control.UniqueID property. After rendering the attribute, the HtmlSelect.RenderAttributes(System.Web.UI.HtmlTextWriter) method calls the base class's HtmlContainerControl.RenderAttributes(System.Web.UI.HtmlTextWriter) method.

The HtmlSelect.RenderAttributes(System.Web.UI.HtmlTextWriter) method is used primarily by control developers extending the functionality of the System.Web.UI.HtmlControls.HtmlSelect control.

Requirements

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