
804
|
Chapter 41: The System.Web.UI.MobileControls.Adapters Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
HtmlObjectListAdapter
System.Web.UI.MobileControls.Adapters (system.web.mobile.dll)
.NET 1.1
class
This adapter renders the System.Web.UI.MobileControls.ObjectList control to HTML. The list can
be rendered in one of two basic formats. If you have not set any System.Web.UI.MobileCon-
trols.ObjectList.TableFields, the list is rendered as a table with the property or field specified
by System.Web.UI.MobileControls.ObjectList.LabelItem displayed for each item. The user can view a
menu of related commands and a list of additional fields for the item by clicking a
“More” link next to the item. Alternatively, if you have set one or more System.Web.UI.
MobileControls.ObjectList.TableFields, these will be used to create a table for each item, which
will be shown instead of the simple list.
Hierarchy
System.Object ➝ ControlAdapter(System.Web.UI.MobileControls.IControlAdapter) ➝
HtmlControlAdapter ➝ HtmlObjectListAdapter
HtmlPageAdapter
System.Web.UI.MobileControls.Adapters (system.web.mobile.dll)
.NET 1.1
class
The HtmlPageAdapter renders System.Web.UI.MobileControls.MobilePage instances to HTML. The
process for rendering a device-specific page is much the same as the process for
rendering a device-specific control, although the