IPageAdapter IPageAdapter IPageAdapter IPageAdapter Interface

Definition

Warning

This API is now obsolete.

Defines the interface to a page adapter. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public interface class IPageAdapter : System::Web::UI::MobileControls::IControlAdapter
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public interface IPageAdapter : System.Web.UI.MobileControls.IControlAdapter
type IPageAdapter = interface
    interface IControlAdapter
Public Interface IPageAdapter
Implements IControlAdapter
Derived
Attributes
Implements

Remarks

All page adapters must implement this interface. This interface inherits from the IControlAdapter interface, so any class that implements this interface must also implement the IControlAdapter interface. The easiest solution is to derive a class from the ControlAdapter base class, which provides a default implementation of the IControlAdapter interface.

Properties

CacheVaryByHeaders CacheVaryByHeaders CacheVaryByHeaders CacheVaryByHeaders

Returns a list of any additional HTTP headers by which caching is varied. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Control Control Control Control

Returns a strongly typed reference to the associated control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from IControlAdapter)
CookielessDataDictionary CookielessDataDictionary CookielessDataDictionary CookielessDataDictionary

Use this property to persist data between requests through the use of the URL query string. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ItemWeight ItemWeight ItemWeight ItemWeight

Accesses the approximate weight of a single item in the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from IControlAdapter)
OptimumPageWeight OptimumPageWeight OptimumPageWeight OptimumPageWeight

Returns a page weight appropriate for the target device. Used in form pagination. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Page Page Page Page

Gets or sets the page to which the adapter is attached. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

PersistCookielessData PersistCookielessData PersistCookielessData PersistCookielessData

Gets or sets whether items from the CookielessDataDictionary property are persisted in the query string. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

VisibleWeight VisibleWeight VisibleWeight VisibleWeight

Returns the approximate weight of the control, in characters. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from IControlAdapter)

Methods

CreateTemplatedUI(Boolean) CreateTemplatedUI(Boolean) CreateTemplatedUI(Boolean) CreateTemplatedUI(Boolean)

Called by base classes to create a templated UI.

(Inherited from IControlAdapter)
CreateTextWriter(TextWriter) CreateTextWriter(TextWriter) CreateTextWriter(TextWriter) CreateTextWriter(TextWriter)

Creates and returns a text writer suitable for the given adapters. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

DeterminePostBackMode(HttpRequest, String, String, NameValueCollection) DeterminePostBackMode(HttpRequest, String, String, NameValueCollection) DeterminePostBackMode(HttpRequest, String, String, NameValueCollection) DeterminePostBackMode(HttpRequest, String, String, NameValueCollection)

Called to determine the postback data collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

HandleError(Exception, HtmlTextWriter) HandleError(Exception, HtmlTextWriter) HandleError(Exception, HtmlTextWriter) HandleError(Exception, HtmlTextWriter)

Returns true if it handles the error. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

HandlePagePostBackEvent(String, String) HandlePagePostBackEvent(String, String) HandlePagePostBackEvent(String, String) HandlePagePostBackEvent(String, String)

Returns true if it handles the exception. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

HandlePostBackEvent(String) HandlePostBackEvent(String) HandlePostBackEvent(String) HandlePostBackEvent(String)

Returns true if the event was handled. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from IControlAdapter)
LoadAdapterState(Object) LoadAdapterState(Object) LoadAdapterState(Object) LoadAdapterState(Object)

Returns the adapter-specific view for a control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from IControlAdapter)
LoadPostData(String, NameValueCollection, Object, Boolean) LoadPostData(String, NameValueCollection, Object, Boolean) LoadPostData(String, NameValueCollection, Object, Boolean) LoadPostData(String, NameValueCollection, Object, Boolean)

Returns true if the adapter handles loading the post data. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from IControlAdapter)
OnInit(EventArgs) OnInit(EventArgs) OnInit(EventArgs) OnInit(EventArgs)

Called after an object, such as a form or a page, is initialized. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from IControlAdapter)
OnLoad(EventArgs) OnLoad(EventArgs) OnLoad(EventArgs) OnLoad(EventArgs)

Loads data that pertains to a control, a page, or a device adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from IControlAdapter)
OnPreRender(EventArgs) OnPreRender(EventArgs) OnPreRender(EventArgs) OnPreRender(EventArgs)

Called by the control's OnPreRender(EventArgs) method, to perform adapter-specific work prior to rendering. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from IControlAdapter)
OnUnload(EventArgs) OnUnload(EventArgs) OnUnload(EventArgs) OnUnload(EventArgs)

Unloads data that pertains to a control, a page, or a device adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from IControlAdapter)
Render(HtmlTextWriter) Render(HtmlTextWriter) Render(HtmlTextWriter) Render(HtmlTextWriter)

Called by the control's Render(HtmlTextWriter) method to perform rendering. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from IControlAdapter)
SaveAdapterState() SaveAdapterState() SaveAdapterState() SaveAdapterState()

This method is called when the control saves its private view state. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from IControlAdapter)

Security

AspNetHostingPermission
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.

Applies to

See also