System.Web.UI.HtmlControls.HtmlSelect.CreateControlCollection Method

Creates an System.Web.UI.EmptyControlCollection object for the System.Web.UI.HtmlControls.HtmlSelect control.

Syntax

protected override System.Web.UI.ControlCollection CreateControlCollection ()

Returns

A System.Web.UI.ControlCollection to contain the current server control's child server controls.

Remarks

The System.Web.UI.HtmlControls.HtmlSelect control does not allow child controls.

Requirements

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