HtmlObjectListAdapter.NET 1.1

System.Web.UI.MobileControls.Adapters (

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.MobileControls.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.

public class HtmlObjectListAdapter : HtmlControlAdapter {
// Public Constructors
   public HtmlObjectListAdapter( );
// Protected Instance Properties
   protected ObjectList Control{get; }
// Public Instance Methods
   public override void CreateTemplatedUI(bool doDataBind); // overrides ControlAdapter
   public override bool HandlePostBackEvent(string eventArgument); // overrides ControlAdapter
   public override void OnInit(EventArgs e); // overrides ControlAdapter
   public override void OnPreRender(EventArgs e); // overrides ControlAdapter
   public override void Render(HtmlMobileTextWriter writer); // overrides HtmlControlAdapter
// Protected Instance Methods
   protected bool HasCommands( );
   protected bool HasDefaultCommand( );
   protected bool HasItemDetails( );
   protected bool OnlyHasDefaultCommand( );
   protected virtual void RenderItemDetails(HtmlMobileTextWriter writer, 
        System.Web.UI.MobileControls.ObjectListItem item);
   protected virtual void RenderItemsList(HtmlMobileTextWriter writer);
   protected virtual bool ShouldRenderAsTable( );


System.Object ControlAdapter(System.Web.UI.MobileControls.IControlAdapter) HtmlControlAdapter HtmlObjectListAdapter

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace