Renders the System.Web.UI.HtmlControls.HtmlSelect control's child controls to the specified System.Web.UI.HtmlTextWriter object.
The HtmlSelect.RenderChildren(System.Web.UI.HtmlTextWriter) method overrides the base class's System.Web.UI.Control.RenderChildren(System.Web.UI.HtmlTextWriter) method without calling the base method. Each of the <option> elements between the opening and closing <select> tags is rendered with a value attribute, a selected attribute if the item is selected, and its associated text.
If multiple items were selected but the HtmlSelect.Multiple property is set to false, then an System.Web.HttpException exception is thrown.