NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlSelect Properties

The properties of the HtmlSelect class are listed below. For a complete list of HtmlSelect class members, see the HtmlSelect Members topic.

Public:

Attributes (inherited from HtmlControl) Gets all attribute name/value pairs expressed on a server control tag within a selected ASP+ page.
ClientID (inherited from Control) [To be supplied.]
Controls (inherited from Control) [To be supplied.]
DataBindings (inherited from Control) [To be supplied.]
DataSource Gets or sets the data source to databind the list values in the HtmlSelect control against. This provides data to populate the select list with items.
DataTextField Gets or sets the field in the data source that provides the text for an option entry in the HtmlSelect control.
DataValueField Gets or sets the field in the data source that provides the option item value for the HtmlSelect control.
Disabled (inherited from HtmlControl) Gets or sets a value indicating whether the Disabled attribute is included when a server control is rendered.
ID (inherited from Control) [To be supplied.]
InnerHtml (inherited from HtmlContainerControl) Gets or sets the content found between the opening and closing tags of the specified HTML server control.
InnerText (inherited from HtmlContainerControl) Gets or sets all text between the opening and closing tags of the specified HTML server control.
Items Gets the list of option items in an HtmlSelect control.
MaintainState (inherited from Control) [To be supplied.]
Multiple Gets or sets a value indicating whether multiple option items can be selected from the list.
NamingContainer (inherited from Control) [To be supplied.]
Page (inherited from Control) [To be supplied.]
Parent (inherited from Control) [To be supplied.]
SelectedIndex Gets or sets the ordinal index of the selected option item in an HtmlSelect control. If multiple items are selected, this property holds the index of the first item selected in the list.
Site (inherited from Control) [To be supplied.]
Size Gets or sets the number of option items visible in the browser at a time. A value greater that one will typically cause browsers to display a scrolling list.
Style (inherited from HtmlControl) Gets all cascading style sheet (CSS) properties that are applied to a specified HTML Server control in an .aspx file.
TagName (inherited from HtmlControl) Gets the element name of a tag that contains a runat=server attribute/value pair.
UniqueID (inherited from Control) [To be supplied.]
Value Gets or sets the current item selected in the HtmlSelect control.
Visible (inherited from Control) [To be supplied.]

Protected:

AllowsChildren (inherited from HtmlContainerControl) [To be supplied.]
ChildControlsCreated (inherited from Control) [To be supplied.]
Context (inherited from Control) [To be supplied.]
HasChildViewState (inherited from Control) [To be supplied.]
State (inherited from Control) [To be supplied.]
StateBagIgnoresCase (inherited from Control) [To be supplied.]

See Also

HtmlSelect Class | System.Web.UI.HtmlControls Namespace