Commands, ObjectList Properties Dialog Box 

Use the Commands page of the ObjectList Properties dialog box to enter commands associated with the System.Web.UI.MobileControls.ObjectList 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 an ObjectList control into the mobile form box on the page.

  4. Right-click the ObjectList control and then click Show Smart Tag.

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

  6. Click the Commands tab.

Tasks

UI Elements

Command list

  • Command Name
    Shows the commands associated with the list and the text associated with the commands. Use the buttons to move items up or down, or to delete items.
  • Create New Command
    Click to add a new command to the list. A text box that contains a default command name appears. You can replace the default name by typing in the text box.

    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.

  • Text
    Enter the text associated with the selected command. This option is dimmed until you select a command name.

Data

  • Default Command
    Specifies which of the commands associated with the list is the default.

See Also

Tasks

How to: Add and Configure an ObjectList Control

Reference

SelectionList Properties Dialog Box
List Properties Dialog Box
ObjectList Properties Dialog Box
General, ObjectList Properties Dialog Box
Fields, ObjectList Properties Dialog Box
System.Web.UI.MobileControls.ObjectList

Concepts

Introduction to the ObjectList 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