
776
|
Chapter 40: The System.Web.UI.MobileControls Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
the ObjectList). Your event handler can then customize the collection of ObjectListCommand
objects depending on the item that has been selected.
Associated Events
ObjectList.ShowItemCommands( )
ObjectListTitleAttribute
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1
class
This class is used internally by the ObjectList to automatically generated a collection of
ObjectListField instances when ObjectList.AutoGenerateFields is True.
Hierarchy
System.Object ➝ System.Attribute ➝ ObjectListTitleAttribute
Valid On
Property
ObjectListViewMode
System.Web.UI.MobileControls (system.web.mobile.dll)
serializable
enum
This enumeration is used in conjunction with the ObjectList.ViewMode property. The
ObjectList supports three different view states. Initially, when an ObjectList is first shown, it
will use the List mode, which shows all items. You can programmatically change the
view mode to show the details or commands for a specific item. First, set the ObjectList.
SelectedIndex property so that an item is selected. Next, set ObjectList.ViewMode to Details or
Commands. Note that in HTML, these settings are equivalent, because the details view is
combined with the commands view, with the commands appearing as hyperlinks
below the details. ...