IPageAdapter

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



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