Populer Topics

DropDwonList Control

This control is used to create the drop-down list. Enable user to select from a single selection drop-down list. Each selectable item in a list box control is define by list item element.This control support data binding the list box has more some power in compare to drop-down control. Using list box we can select the more item from the given list box.

The drop-down list can contain any no of items. Each selectable item in a drop-down list control by setting the Border Color, Border Style and Border width property.

Property Description
Runat

specifies that the control is a server control it must be set runat equal to server.

SelectedIndex

It will return the index of selected items. This is used to specifies list of items from dropdown list control.

SelectedItem

This is runtime property which is used to now the value of currently selected item.

SelectedValue

Get the value of the selected item in the control or select the item in this control that contains the specified value.

Selectedvalue

Get the value of the selected item in the control or select the item in the list control and that contains the specified value.