XhtmlPageAdapter Class

Definition

Caution

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.

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

public ref class XhtmlPageAdapter : System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlControlAdapter, System::Web::UI::MobileControls::IPageAdapter
public class XhtmlPageAdapter : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlControlAdapter, 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 XhtmlPageAdapter : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlControlAdapter, System.Web.UI.MobileControls.IPageAdapter
type XhtmlPageAdapter = class
    inherit XhtmlControlAdapter
    interface IPageAdapter
    interface 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.")>]
type XhtmlPageAdapter = class
    inherit XhtmlControlAdapter
    interface IPageAdapter
    interface IControlAdapter
Public Class XhtmlPageAdapter
Inherits XhtmlControlAdapter
Implements IPageAdapter
Inheritance
Attributes
Implements

Remarks

The XhtmlPageAdapter class inherits the XhtmlControlAdapter class and implements the IPageAdapter class.

Constructors

XhtmlPageAdapter()

Creates a new instance of the XhtmlPageAdapter class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Properties

CacheVaryByHeaders

Gets 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

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

Gets or sets the current cookieless Session property data, if any. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

CssLocation

Indicates whether the style sheet is located as an external physical file, is internal to the current page, is stored in the current session state, or is stored in the application cache. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
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)
DocumentType

Indicates the type of XHTML markup used to render the current document. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
EventArgumentKey

Gets the key for submitting 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

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

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

Gets a page weight that is appropriate 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.

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

Gets the page adapter for the page 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 XhtmlControlAdapter)
PersistCookielessData

Gets or sets a Boolean value indicating 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.

SecondaryUIMode

Gets the current secondary UI mode. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
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)
StyleSheetLocationAttributeValue

Gets the value of the CssLocation attribute, if it exists, from the form in which it is contained. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
StyleSheetStorageApplicationSetting

Gets the value of the XhtmlCssState configuration setting in the appSettings section of the Web.config file. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

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)
ClearPendingBreakIfDeviceBreaksOnBlockLevel(XhtmlMobileTextWriter)

Clears a pending break if the target device breaks on block elements. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalClearCachedEndTag(XhtmlMobileTextWriter, String)

Clears the given text writer's current end tag if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalClearPendingBreak(XhtmlMobileTextWriter)

Clears a pending break in the target device if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalEnterFormat(XhtmlMobileTextWriter, Style)

Begins a section with the opening tag and attributes that implement the formats of the specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalEnterLayout(XhtmlMobileTextWriter, Style)

Begins a section with the opening tag and attributes that implement the layout of the specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalEnterStyle(XhtmlMobileTextWriter, Style, String)

Writes the opening tag of the specified element, along with attributes that implement the layout and character formatting of the specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalEnterStyle(XhtmlMobileTextWriter, Style)

Writes the opening tag for a <span> section, along with attributes that implement the layout and character formatting of the specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalExitFormat(XhtmlMobileTextWriter, Style)

Ends a block that has been using the character formatting from a specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalExitLayout(XhtmlMobileTextWriter, Style)

Ends a block that has been using the layout formatting from a specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalExitStyle(XhtmlMobileTextWriter, Style)

Ends a </span> element that has been using the layout and character formatting from a specified style, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalPopPhysicalCssClass(XhtmlMobileTextWriter)

Removes the current cascading style sheet class name from the XhtmlMobileTextWriter object, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalRenderClassAttribute(XhtmlMobileTextWriter)

Puts a class name attribute on the next element to be rendered, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalRenderClosingDivElement(XhtmlMobileTextWriter)

Renders a closing </div> tag if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalRenderClosingSpanElement(XhtmlMobileTextWriter)

Renders a closing </span> element if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalRenderCustomAttribute(XhtmlMobileTextWriter, String, String)

Includes a custom attribute with the specified name and value in the next element to be rendered, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalRenderCustomAttribute(XhtmlMobileTextWriter, String)

Gets the value of the attribute with the specified name from the associated control and renders it on the next element with the specified name if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalRenderOpeningDivElement(XhtmlMobileTextWriter)

Renders an opening tag for a <div> element if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalRenderOpeningSpanElement(XhtmlMobileTextWriter)

Renders an opening tag for a <span> element, if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalSetPendingBreak(XhtmlMobileTextWriter)

Sets a pending break if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ConditionalSetPendingBreakAfterInline(XhtmlMobileTextWriter)

Sets a pending break after inline elements if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

Creates and returns a text writer that is appropriate 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.

DeterminePostBackMode(HttpRequest, String, String, NameValueCollection)

Returns 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)

Indicates 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)

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

(Inherited from Object)
ExitSecondaryUIMode()

Exits any secondary 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 XhtmlControlAdapter)
GetCustomAttributeValue(MobileControl, String)

Gets the value of the specified attribute from a given control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
GetCustomAttributeValue(String)

Gets the value of the specified attribute from the markup of 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 XhtmlControlAdapter)
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)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
HandleError(Exception, HtmlTextWriter)

Called if an unhandled error occurs on 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)

Indicates whether the adapter handles the postback event. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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)
InitWriterState(XhtmlMobileTextWriter)

Configures the XhtmlMobileTextWriter object 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.

LoadAdapterState(Object)

Loads view state data specific to this adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

Creates a shallow copy of the current Object.

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

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)

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

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)
PreprocessQueryString(String)

Gets the portion of the given query string that contains parameters for processing 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 XhtmlControlAdapter)
Render(HtmlTextWriter)

Displays the associated control and all of its child controls on the client. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
Render(XhtmlMobileTextWriter)

Sends the page content to a provided XhtmlMobileTextWriter, which renders the content to the client. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderAsHiddenInputField(XhtmlMobileTextWriter)

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 XhtmlControlAdapter)
RenderBeginLink(XhtmlMobileTextWriter, String, String, Style, String, String)

Renders the opening tag of a link using the given XhtmlMobileTextWriter and target, as well as either the given styles or the given cascading style sheet class name, the access key, and the title text. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
RenderBeginLink(XhtmlMobileTextWriter, String, String, Style, String)

Renders the opening tag of a link using the given XhtmlMobileTextWriter and target, as well as the given styles or the given cascading style sheet class name. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
RenderBeginLink(XhtmlMobileTextWriter, String)

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

(Inherited from XhtmlControlAdapter)
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)
RenderClosingListTag(XhtmlMobileTextWriter, String)

Renders a closing tag for a specified list element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
RenderEndLink(XhtmlMobileTextWriter)

Renders a closing tag (</a>) for a link element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
RenderOffPageVariables(XhtmlMobileTextWriter, Control, Int32)

Renders hidden postback variables for child controls that are not visible due to pagination or secondary UI. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
RenderOpeningListTag(XhtmlMobileTextWriter, String)

Renders an opening tag for the specified tag name. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
RenderPostBackEventAsAnchor(XhtmlMobileTextWriter, String, String, String, Style, String)

Renders a postback event as a link with the specified argument, text, and access key, as well as the specified styles or the specified cascading style sheet class name. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
RenderPostBackEventAsAnchor(XhtmlMobileTextWriter, String, String, String)

Renders a postback event as a link with the specified argument, text, and access key. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
RenderPostBackEventAsAnchor(XhtmlMobileTextWriter, String, String)

Renders a postback event as a link with the specified argument and text. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
RenderUrlPostBackEvent(XhtmlMobileTextWriter, String, String)

Creates a link on the current page to enable postback on devices that do not support postback events. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

SaveAdapterState()

Saves view-state data specific to this adapter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

(Inherited from XhtmlControlAdapter)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also