System.Web.UI.WebControls.DropDownList.AddAttributesToRender Method

Adds HTML attributes and styles that need to be rendered to the specified System.Web.UI.HtmlTextWriter object.

Syntax

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

Parameters

writer
An System.Web.UI.HtmlTextWriter that represents the output stream that renders HTML contents to the client.

Remarks

This member is used primarily by control developers when deriving a custom control from the System.Web.UI.WebControls.DropDownList class.

Requirements

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