
812
|
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.
Hierarchy
System.Object ➝ ControlAdapter(System.Web.UI.MobileControls.IControlAdapter) ➝
WmlControlAdapter
Subclasses
Multiple types
WmlFormAdapter
System.Web.UI.MobileControls.Adapters (system.web.mobile.dll)
.NET 1.1
class
This adapter renders the System.Web.UI.MobileControls.Form control to WML.
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 ...