ChtmlPageAdapter Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

Provides a page adapter for the cHTML adapter set. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls.Adapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)


[ObsoleteAttribute("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.")]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, 
	Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, 
	Level = AspNetHostingPermissionLevel.Minimal)]
public class ChtmlPageAdapter : HtmlPageAdapter

NameDescription
System_CAPS_pubmethodChtmlPageAdapter()

Initializes a new instance of the ChtmlPageAdapter class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

NameDescription
System_CAPS_pubpropertyCacheVaryByHeaders

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 the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_pubpropertyControl

Returns a strongly typed reference to the associated control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_pubpropertyCookielessDataDictionary

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 the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_pubpropertyDevice

Returns the device capabilities object associated with the request. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_protpropertyEventArgumentKey

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 the www.asp.net/mobile Web site.(Overrides HtmlPageAdapter.EventArgumentKey.)

System_CAPS_protpropertyEventSourceKey

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 the www.asp.net/mobile Web site.(Overrides HtmlPageAdapter.EventSourceKey.)

System_CAPS_protpropertyFormAdapter

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 the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_pubpropertyItemWeight

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 the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_pubpropertyOptimumPageWeight

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 the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_pubpropertyPage

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 the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_protpropertyPageAdapter

Returns the page adapter for the mobile page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_pubpropertyPersistCookielessData

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 the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_pubpropertyRequiresFormTag

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 the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_protpropertySecondaryUIMode

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 the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_pubpropertyStyle

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 the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_pubpropertyVisibleWeight

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 the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

NameDescription
System_CAPS_protmethodAddAccesskeyAttribute(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 the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_protmethodAddAttributes(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 the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_protmethodAddJPhoneMultiMediaAttributes(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 the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_protmethodCalculateOptimumPageWeight(Int32)

Determines the optimum page weight for the device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_pubmethodCreateTemplatedUI(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 the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_pubmethodCreateTextWriter(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 the www.asp.net/mobile Web site.(Overrides HtmlPageAdapter.CreateTextWriter(TextWriter).)

System_CAPS_pubmethodDeterminePostBackMode(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 the www.asp.net/mobile Web site.(Overrides HtmlPageAdapter.DeterminePostBackMode(HttpRequest, String, String, NameValueCollection).)

System_CAPS_pubmethodSystem_CAPS_staticDeviceQualifies(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 the www.asp.net/mobile Web site.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodExitSecondaryUIMode()

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 the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_protmethodGetDefaultLabel(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 the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_pubmethodGetFormUrl(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 method of the text writer. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodHandleError(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 the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_pubmethodHandlePagePostBackEvent(String, String)

Returns true if it handles the exception. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_pubmethodHandlePostBackEvent(String)

Returns true if the event was handled. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_pubmethodIsFormRendered(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 the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_pubmethodLoadAdapterState(Object)

Loads the view state. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_pubmethodLoadPostData(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 the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodOnInit(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 the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_pubmethodOnLoad(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 the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_pubmethodOnPreRender(EventArgs)

Called by the control's OnPreRender method, to perform adapter-specific work prior to rendering. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_pubmethodOnUnload(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 the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_pubmethodRender(HtmlMobileTextWriter)

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 the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_pubmethodRender(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 the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_protmethodRenderAsHiddenInputField(HtmlMobileTextWriter)

Renders hidden field text for a control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_protmethodRenderBeginLink(HtmlMobileTextWriter, String)

Renders the opening tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_protmethodRenderChildren(HtmlTextWriter)

Renders children of the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from ControlAdapter.)

System_CAPS_protmethodRenderEndLink(HtmlMobileTextWriter)

Renders the end tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_pubmethodRenderForm(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 the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_protmethodRenderHiddenVariables(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 the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_pubmethodRenderPostBackEvent(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 the www.asp.net/mobile Web site.(Overrides HtmlPageAdapter.RenderPostBackEvent(HtmlMobileTextWriter, String, String).)

System_CAPS_protmethodRenderPostBackEventAsAnchor(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 the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_protmethodRenderPostBackEventAsAttribute(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 the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_protmethodRenderPostBackEventReference(HtmlMobileTextWriter, String)

Renders a postback event reference. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_pubmethodRenderPostBackHeader(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 the www.asp.net/mobile Web site.(Overrides HtmlPageAdapter.RenderPostBackHeader(HtmlMobileTextWriter, Form).)

System_CAPS_pubmethodRenderUrlPostBackEvent(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 the www.asp.net/mobile Web site.(Inherited from HtmlPageAdapter.)

System_CAPS_pubmethodSaveAdapterState()

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 the www.asp.net/mobile Web site.(Inherited from HtmlControlAdapter.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

AspNetHostingPermission

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

AspNetHostingPermission

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

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: