WmlControlAdapter

WmlControlAdapter.NET 1.1

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

All WML-specific control adapters derive from this base class. It overrides the basic functionality defined in the ControlAdapter class to add WML-specific support for hyperlinks and postbakcs, and to ensure that the FormAdapter property references a valid WmlFormAdapter.

public class WmlControlAdapter : ControlAdapter { // Public Constructors    public WmlControlAdapter( ); // Protected Static Fields    protected static readonly int NotSecondaryUI;                 // =-1 // Protected Instance Properties    protected WmlFormAdapter FormAdapter{get; }    protected WmlPageAdapter PageAdapter{get; }    protected int SecondaryUIMode{set; get; } // Public Instance Methods    public override void LoadAdapterState(object state);         // overrides ControlAdapter    public override void Render(System.Web.UI.HtmlTextWriter writer); // overrides ControlAdapter    public virtual void Render(WmlMobileTextWriter writer);    public override object SaveAdapterState( );       // overrides ControlAdapter // Protected Instance Methods    protected string DeterminePostBack(string target);    protected void ExitSecondaryUIMode( );    protected virtual string GetPostBackValue( );    protected void RenderBeginLink(WmlMobileTextWriter writer, string targetUrl, string softkeyLabel,          bool implicitSoftkeyLabel, bool mapToSoftkey);    protected void RenderEndLink(WmlMobileTextWriter writer, string targetUrl, bool breakAfter);    protected void RenderLink(WmlMobileTextWriter writer, string targetUrl, string softkeyLabel,          bool implicitSoftkeyLabel, bool mapToSoftkey, string text, bool breakAfter);    protected void RenderPostBackEvent(WmlMobileTextWriter writer, string argument, string softkeyLabel,          bool mapToSoftkey, string text, bool breakAfter);    protected void RenderPostBackEvent(WmlMobileTextWriter writer, string argument, string softkeyLabel,          bool mapToSoftkey, string text, bool breakAfter, WmlPostFieldType postBackType);    protected void RenderSubmitEvent(WmlMobileTextWriter writer, string softkeyLabel, string text, bool breakAfter); }

Hierarchy

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

Subclasses

Multiple types



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