ListSelectType

ListSelectTypeserializable

System.Web.UI.MobileControls (system.web.mobile.dll)enum

This enumeration is used in conjunction with the SelectionList.IsMultiSelect property. It allows you to define how the list should be rendered. Several styles are supported, depending on the device. If you need multi-select capability, you can use the CheckBox or MultipleSelectionListBox style. If you want a single-select list, you can use DropDown, ListBox, or Radio.

public enum ListSelectType {
   DropDown = 0,
   ListBox = 1,
   Radio = 2,
   MultiSelectListBox = 3,
   CheckBox = 4
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) ListSelectType

Returned By

SelectionList.SelectType

Passed To

SelectionList.SelectType



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace