WmlObjectListAdapter

WmlObjectListAdapter.NET 1.1

System.Web.UI.MobileControls.Adapters (system.web.mobile.dll)class

This adapter renders the System.Web.UI.MobileControls.ObjectList control to WML over several screens. The list is initially rendered as a select list, and the property or field specified by System.Web.UI.MobileControls.ObjectList.LabelItem is displayed for each item. The user can select the item, and view a menu of related commands or a list of additional fields for the item.

public class WmlObjectListAdapter : WmlControlAdapter { // Public Constructors    public WmlObjectListAdapter( ); // 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 OnPreRender(EventArgs e);               // overrides ControlAdapter    public override void Render(WmlMobileTextWriter writer);     // overrides WmlControlAdapter // Protected Instance Methods    protected bool HasCommands( );    protected bool HasDefaultCommand( );    protected bool HasItemDetails( );    protected bool OnlyHasDefaultCommand( );    protected virtual void RenderItemDetails(WmlMobileTextWriter writer,          System.Web.UI.MobileControls.ObjectListItem item);    protected virtual void RenderItemMenu(WmlMobileTextWriter writer,          System.Web.UI.MobileControls.ObjectListItem item);    protected virtual void RenderItemsList(WmlMobileTextWriter writer);    protected virtual bool ShouldRenderAsTable( ); }

Hierarchy

System.Object ControlAdapter(System.Web.UI.MobileControls.IControlAdapter) WmlControlAdapter WmlObjectListAdapter



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net