HtmlPageAdapter HtmlPageAdapter HtmlPageAdapter HtmlPageAdapter Class

Definition

Warning

This API is now obsolete.

Provides a page adapter for the HTML adapter set. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public ref class HtmlPageAdapter : System::Web::UI::MobileControls::Adapters::HtmlControlAdapter, System::Web::UI::MobileControls::IPageAdapter
[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 class HtmlPageAdapter : System.Web.UI.MobileControls.Adapters.HtmlControlAdapter, System.Web.UI.MobileControls.IPageAdapter
type HtmlPageAdapter = class
    inherit HtmlControlAdapter
    interface IPageAdapter
    interface IControlAdapter
Public Class HtmlPageAdapter
Inherits HtmlControlAdapter
Implements IPageAdapter
Inheritance
Derived
Attributes
Implements

Constructors

HtmlPageAdapter() HtmlPageAdapter() HtmlPageAdapter() HtmlPageAdapter()

Initializes an instance of the HtmlPageAdapter class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

HtmlPageAdapter(Int32) HtmlPageAdapter(Int32) HtmlPageAdapter(Int32) HtmlPageAdapter(Int32)

Initializes an instance of the HtmlPageAdapter class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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 ControlAdapter)
CookielessDataDictionary CookielessDataDictionary CookielessDataDictionary CookielessDataDictionary

Gets or sets persisted 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.

Device Device Device Device

Returns the device capabilities object associated with the request. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
EventArgumentKey EventArgumentKey EventArgumentKey EventArgumentKey

Returns the key to use to submit the event argument. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

EventSourceKey EventSourceKey EventSourceKey EventSourceKey

Returns the key to use to submit the event source. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

FormAdapter FormAdapter FormAdapter FormAdapter

Retrieves the form adapter for the form on which the associated control resides. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
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 ControlAdapter)
OptimumPageWeight OptimumPageWeight OptimumPageWeight OptimumPageWeight

Returns a page weight, based on the device's screen size, which is 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.

PageAdapter PageAdapter PageAdapter PageAdapter

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

(Inherited from HtmlControlAdapter)
PersistCookielessData PersistCookielessData PersistCookielessData PersistCookielessData

Sets or returns 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.

RequiresFormTag RequiresFormTag RequiresFormTag RequiresFormTag

Gets a value indicating whether an adapter, such as the ChtmlCommandAdapter class, generates markup that requires <Form> tags for form submission. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
SecondaryUIMode SecondaryUIMode SecondaryUIMode SecondaryUIMode

Sets or returns the secondary user interface (UI) mode for 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 HtmlControlAdapter)
Style Style Style Style

Returns the style object associated with the control to which the device adapter is attached. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
VisibleWeight VisibleWeight VisibleWeight VisibleWeight

Gets or sets 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 ControlAdapter)

Methods

AddAccesskeyAttribute(HtmlMobileTextWriter) AddAccesskeyAttribute(HtmlMobileTextWriter) AddAccesskeyAttribute(HtmlMobileTextWriter) AddAccesskeyAttribute(HtmlMobileTextWriter)

Writes a custom attribute access key method, provided that the device supports the attribute. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
AddAttributes(HtmlMobileTextWriter) AddAttributes(HtmlMobileTextWriter) AddAttributes(HtmlMobileTextWriter) AddAttributes(HtmlMobileTextWriter)

Writes additional attributes that are specific to an adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
AddJPhoneMultiMediaAttributes(HtmlMobileTextWriter) AddJPhoneMultiMediaAttributes(HtmlMobileTextWriter) AddJPhoneMultiMediaAttributes(HtmlMobileTextWriter) AddJPhoneMultiMediaAttributes(HtmlMobileTextWriter)

Use this method to write custom attributes for J-Phone multimedia attributes. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
CalculateOptimumPageWeight(Int32) CalculateOptimumPageWeight(Int32) CalculateOptimumPageWeight(Int32) CalculateOptimumPageWeight(Int32)

Determines the optimum page weight for the device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
CreateTemplatedUI(Boolean) CreateTemplatedUI(Boolean) CreateTemplatedUI(Boolean) CreateTemplatedUI(Boolean)

Called by a control to create a templated user interface (UI). This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
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.

DeviceQualifies(HttpContext) DeviceQualifies(HttpContext) DeviceQualifies(HttpContext) DeviceQualifies(HttpContext)

Evaluates whether the device adapter set applies to the specified request. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
ExitSecondaryUIMode() ExitSecondaryUIMode() ExitSecondaryUIMode() ExitSecondaryUIMode()

Exits any secondary user interface (UI) mode for 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 HtmlControlAdapter)
GetDefaultLabel(Int32) GetDefaultLabel(Int32) GetDefaultLabel(Int32) GetDefaultLabel(Int32)

Returns the localized default string for the label control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from ControlAdapter)
GetFormUrl(Form) GetFormUrl(Form) GetFormUrl(Form) GetFormUrl(Form)

Returns a URL that can be used to uniquely identify the form. This URL must only be passed as a parameter to the BeginFile(String, String, String) method of the text writer. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
HandleError(Exception, HtmlTextWriter) HandleError(Exception, HtmlTextWriter) HandleError(Exception, HtmlTextWriter) HandleError(Exception, HtmlTextWriter)

Called if an unhandled exception occurs during the life cycle of the page. 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 ControlAdapter)
IsFormRendered(Form) IsFormRendered(Form) IsFormRendered(Form) IsFormRendered(Form)

Returns whether or not the specified form is to be rendered as part of the current request. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

LoadAdapterState(Object) LoadAdapterState(Object) LoadAdapterState(Object) LoadAdapterState(Object)

Loads the 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 HtmlControlAdapter)
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 ControlAdapter)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
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 ControlAdapter)
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 ControlAdapter)
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 ControlAdapter)
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 ControlAdapter)
Render(HtmlMobileTextWriter) Render(HtmlMobileTextWriter) Render(HtmlMobileTextWriter) Render(HtmlMobileTextWriter)

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.

Render(HtmlTextWriter) Render(HtmlTextWriter) Render(HtmlTextWriter) Render(HtmlTextWriter)

Called by the control's Render 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 HtmlControlAdapter)
RenderAsHiddenInputField(HtmlMobileTextWriter) RenderAsHiddenInputField(HtmlMobileTextWriter) RenderAsHiddenInputField(HtmlMobileTextWriter) RenderAsHiddenInputField(HtmlMobileTextWriter)

Renders hidden field text 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 HtmlControlAdapter)
RenderBeginLink(HtmlMobileTextWriter, String) RenderBeginLink(HtmlMobileTextWriter, String) RenderBeginLink(HtmlMobileTextWriter, String) RenderBeginLink(HtmlMobileTextWriter, String)

Renders the opening tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
RenderChildren(HtmlTextWriter) RenderChildren(HtmlTextWriter) RenderChildren(HtmlTextWriter) RenderChildren(HtmlTextWriter)

Renders children of 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 ControlAdapter)
RenderEndLink(HtmlMobileTextWriter) RenderEndLink(HtmlMobileTextWriter) RenderEndLink(HtmlMobileTextWriter) RenderEndLink(HtmlMobileTextWriter)

Renders the end tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
RenderForm(HtmlMobileTextWriter, Form) RenderForm(HtmlMobileTextWriter, Form) RenderForm(HtmlMobileTextWriter, Form) RenderForm(HtmlMobileTextWriter, Form)

Renders the given form. Called by the form adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderHiddenVariables(HtmlMobileTextWriter) RenderHiddenVariables(HtmlMobileTextWriter) RenderHiddenVariables(HtmlMobileTextWriter) RenderHiddenVariables(HtmlMobileTextWriter)

Renders all hidden variables on the page as hidden input fields. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderPostBackEvent(HtmlMobileTextWriter, String, String) RenderPostBackEvent(HtmlMobileTextWriter, String, String) RenderPostBackEvent(HtmlMobileTextWriter, String, String) RenderPostBackEvent(HtmlMobileTextWriter, String, String)

Renders a reference to a postback event appropriately for the target device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderPostBackEventAsAnchor(HtmlMobileTextWriter, String, String) RenderPostBackEventAsAnchor(HtmlMobileTextWriter, String, String) RenderPostBackEventAsAnchor(HtmlMobileTextWriter, String, String) RenderPostBackEventAsAnchor(HtmlMobileTextWriter, String, String)

Renders a postback event as an anchor, with the text specified by the linkText parameter as a label. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
RenderPostBackEventAsAttribute(HtmlMobileTextWriter, String, String) RenderPostBackEventAsAttribute(HtmlMobileTextWriter, String, String) RenderPostBackEventAsAttribute(HtmlMobileTextWriter, String, String) RenderPostBackEventAsAttribute(HtmlMobileTextWriter, String, String)

Renders a postback event as an attribute. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
RenderPostBackEventReference(HtmlMobileTextWriter, String) RenderPostBackEventReference(HtmlMobileTextWriter, String) RenderPostBackEventReference(HtmlMobileTextWriter, String) RenderPostBackEventReference(HtmlMobileTextWriter, String)

Renders a postback event reference. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from HtmlControlAdapter)
RenderPostBackHeader(HtmlMobileTextWriter, Form) RenderPostBackHeader(HtmlMobileTextWriter, Form) RenderPostBackHeader(HtmlMobileTextWriter, Form) RenderPostBackHeader(HtmlMobileTextWriter, Form)

Renders the header associated with postbacks. For browsers that support script, this includes a script block to perform postback. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderUrlPostBackEvent(HtmlMobileTextWriter, String, String) RenderUrlPostBackEvent(HtmlMobileTextWriter, String, String) RenderUrlPostBackEvent(HtmlMobileTextWriter, String, String) RenderUrlPostBackEvent(HtmlMobileTextWriter, String, String)

Renders a reference to a postback event, as a URL. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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 HtmlControlAdapter)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Security

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

Applies to

See also