DekGenius.com
[ Team LiB ] Previous Section Next Section

IPageAdapter.NET 1.1

System.Web.UI.MobileControls (system.web.mobile.dll)interface

This interface defines the key members that are required for all device-specific page adapters. Classes like System.Web.UI.MobileControls.Adapters.ChtmlPageAdapter, System.Web.UI.MobileControls.Adapters.HtmlPageAdapter, and System.Web.UI.MobileControls.Adapters.WmlPageAdapter implement this interface, and render ASP.NET mobile pages into device specific markup like cHTML, HTML, or WML.

public interface IPageAdapter : IControlAdapter {
// Public Instance Properties
   public IList CacheVaryByHeaders{get; }
   public IDictionary CookielessDataDictionary{set; get; }
   public int OptimumPageWeight{get; }
   public MobilePage Page{set; get; }               // implements IControlAdapter
   public bool PersistCookielessData{set; get; }
// Public Instance Methods
   public HtmlTextWriter CreateTextWriter(System.IO.TextWriter writer);
   public NameValueCollection DeterminePostBackMode(System.Web.HttpRequest request, string postEventSourceID, 
        string postEventArgumentID, System.Collections.Specialized.NameValueCollection baseCollection);
   public bool HandleError(Exception e, System.Web.UI.HtmlTextWriter writer);
   public bool HandlePagePostBackEvent(string eventSource, string eventArgument);
}

Implemented By

System.Web.UI.MobileControls.Adapters.{HtmlPageAdapter, WmlPageAdapter}

Returned By

MobilePage.Adapter

    [ Team LiB ] Previous Section Next Section