| System.Web.UI.MobileControls.Adapters (system.web.mobile.dll) | 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 page adapter has additional responsibilities. These include
creating the device-specific text writer for all adapters (using
CreateTextWriter( )), retrieving postback data
(using DeterminePostBackMode( ) and
HandlePagePostBackEvent( )), and handling errors
(using HandleError( )).public class HtmlPageAdapter :
HtmlControlAdapter, System.Web.UI.MobileControls.IPageAdapter {
// Public Constructors
public HtmlPageAdapter ( );
// Protected Constructors
protected internal HtmlPageAdapter (int defaultPageWeight );
// Public Instance Properties
public virtual IList CacheVaryByHeaders {get; }
// implements System.Web.UI.MobileControls.IPageAdapter
public IDictionary CookielessDataDictionary {set; get; }
// implements System.Web.UI.MobileControls.IPageAdapter
public virtual int OptimumPageWeight {get; }
// implements System.Web.UI.MobileControls.IPageAdapter
public override MobilePage Page {set; get; }// overrides ControlAdapter
public bool PersistCookielessData {set; get; }
// implements System.Web.UI.MobileControls.IPageAdapter
// Protected Instance Properties
protected virtual string EventArgumentKey {get; }
protected virtual string EventSourceKey {get; }
// Public Static Methods
public static bool DeviceQualifies (System.Web.HttpContext context );
// Public Instance Methods
public virtual HtmlTextWriter CreateTextWriter (System.IO.TextWriter writer );
// implements System.Web.UI.MobileControls.IPageAdapter
public virtual NameValueCollection DeterminePostBackMode (System.Web.HttpRequest request ,
string postEventSourceID , string postEventArgumentID ,
System.Collections.Specialized.NameValueCollection baseCollection );
// implements System.Web.UI.MobileControls.IPageAdapter
public string GetFormUrl (System.Web.UI.MobileControls.Form form );
public virtual bool HandleError (Exception e , System.Web.UI.HtmlTextWriter writer );
// implements System.Web.UI.MobileControls.IPageAdapter
public virtual bool HandlePagePostBackEvent (string eventSource , string eventArgument );
// implements System.Web.UI.MobileControls.IPageAdapter
public virtual bool IsFormRendered (System.Web.UI.MobileControls.Form form );
public override void Render (HtmlMobileTextWriter writer ); // overrides HtmlControlAdapter
public virtual void RenderForm (HtmlMobileTextWriter writer , System.Web.UI.MobileControls.Form form );
public virtual void RenderPostBackEvent (HtmlMobileTextWriter writer , string target , string argument );
public virtual void RenderPostBackHeader (HtmlMobileTextWriter writer , System.Web.UI.MobileControls.Form form );
public virtual void RenderUrlPostBackEvent (HtmlMobileTextWriter writer , string target , string argument );
// Protected Instance Methods
protected void RenderHiddenVariables (HtmlMobileTextWriter writer );
}
Hierarchy
System.Object 
ControlAdapter(System.Web.UI.MobileControls.IControlAdapter)
HtmlControlAdapter
HtmlPageAdapter(System.Web.UI.MobileControls.IPageAdapter)Subclasses
ChtmlPageAdapterReturned By
HtmlControlAdapter.PageAdapter