The drop down lists, check boxes and radio buttons are supported by SelectionList Control
A D V E R T I S E M E N T
Selection Lists
The data feature of the SelectionList control is very similar to the List control. However, the SelectionList control differs in that it is used exclusively to represent selection in a form, and requires another control, such as a Command control, to submit the selection. In addition to single selection, the SelectionList control supports multiple selection, rendering a UI appropriate for the device.
SelectionList Styles
Similar to a List control, the SelectionList control offer several rendering style for devices that support these rendering styles. The rendering style, found through the SelectType property, also affect whether or not the control uses single or multiple selection. Valid setting for this property come from the ListSelectType enumeration, and include the following.
Type
Selection type
Description
DropDown
Single
The list is shown as a drop-down list box.
ListBox
Single
The list is shown as a list box.
Radio
Single
The list is shown as a set of option buttons.
MultiSelectListBox
Multiple
The list is shown as a list box.
CheckBox
Multiple
The list is shown as a set of check boxes.
The SelectionList Example
Here we use the SelectionList to let the user select a televisions. This can be viewed as in this mobile page given below:
When this page is displayed on a mobile device, the navigation and display functions of the page will be compiled differently for different devices with different display characteristics. Fore some devices, like a handheld PC, it might display a dropdown list to choose from. For a cell phone it might display a list of options to select from.