Partilhar via


Items, SelectionList Properties Dialog Box 

Use the Items tab of the SelectionList Properties dialog box to specify list items and associated text in a System.Web.UI.MobileControls.SelectionList control.

To access this dialog box

  1. In Visual Studio, open or create a new mobile Web Forms page.

  2. Switch to Design view.

  3. From the Mobile Web Forms tab of the Toolbox, drag a SelectionList control into the mobile Form box on the page.

  4. Right-click the SelectionList control and click Show Smart Tag.

  5. In the SelectionList Tasks menu, click Property Builder.

  6. Click the Items tab.

Tasks

UI Elements

Item list

  • Item Text
    Shows the items in the list and the text associated with them. Use the buttons to move items up or down, or to delete items.

    Button Name What it does
    Move Upward Button

    Up arrow

    Moves the selected item up one place in the list

    Down Arrow Button

    Down arrow

    Moves the selected item down one place in the list

    DeleteButton screenshot

    Delete

    Deletes the currently selected item

  • Create New Item
    Click to add a new item to the list. A text box containing a default item name appears where you can enter a new name.
  • Value
    Enter a string to associate with the selected list item.
  • Selected
    Select to indicate that the list item is selected by default on the client.

See Also

Tasks

How to: Add and Configure a SelectionList Control

Reference

General, SelectionList Properties Dialog Box
SelectionList Properties Dialog Box
System.Web.UI.MobileControls.SelectionList

Concepts

Introduction to the SelectionList Control
Using Data Binding with ASP.NET Mobile Controls
ASP.NET Device Filtering Overview
ASP.NET Mobile Application Development Overview

Other Resources

Developing Adapters for ASP.NET Server Controls