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
In Visual Studio, open or create a new mobile Web Forms page.
Switch to Design view.
From the Mobile Web Forms tab of the Toolbox, drag an ObjectList control into the mobile form box on the page.
Right-click the ObjectList control and then click Show Smart Tag.
In the ObjectList Tasks menu, click Property Builder.
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
Up arrow
Moves the selected item up one place in the list.
Down arrow
Moves the selected item down one place in the list.
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
System.Web.UI.MobileControls.ObjectList
SelectionList Properties Dialog Box
ObjectList Properties Dialog Box
General, ObjectList Properties Dialog Box
Fields, ObjectList Properties Dialog Box
Concepts
Introduction to the ObjectList Control
Using Data Binding with ASP.NET Mobile Controls
ASP.NET Device Filtering Overview