ASP.NET Pack Programmer's Guide
DropDown Members
Constructors Fields Methods
 


Represents a customizable drop-down list control.

The following tables list the members exposed by the DropDown type.

 Public Constructors

  Name Description

DropDown

Initializes a new instance of the DropDown class.

 Public Fields

  Name Description

Dom

An object, which keeps references to various DOM elements, part of the control's structure

 Public Methods

  Name Description

closeDropDown

Closes the drop-down list.

dispose

Sys.UI.Control.dispose override.

get_autoComplete

Gets a value indicating whether automatic completion is enabled for the control.

get_autoPostBack

Gets a value indicating whether the control will post back to the server when the selected index has changed.

get_emptyText

Gets the text to be displayed when the control's selected item is not set.

get_enabled

Gets a value indicating whether the control is enabled.

get_selectedIndex

Returns the index of the currently selected item.

get_state

Gets the validation state of the control

get_submitOnEnter

Gets a value indicating whether the control will submit the form on pressing the Enter key.

initialize

Sys.UI.Control.initialize override.

postback

Initiates a postback.

preparePostback

Prepares the control for a subsequent postback.

selectItem

Selects the item corresponding to the specified index.

set_autoComplete

Sets a value indicating whether automatic completion is enabled for the control.

set_autoPostBack

Sets a value indicating whether the control should post back to the server when the selected index has changed.

set_enabled

Sets a value indicating whether the control is enabled.

set_selectedIndex

Sets the index of the currently selected item.

set_submitOnEnter

Sets a value indicating whether the control should submit the form on pressing the Enter key.

showDropDown

Shows the dropdown list.

 See Also

DropDown Class
MindFusion.UI.WebForms Namespace