ChtmlFormAdapter Members

Provides the form adapter class, that is, the adapter for the Form control, for the cHTML adapter set.

The following tables list the members exposed by the ChtmlFormAdapter type.

  Name Description
Public method ChtmlFormAdapter Creates an instance of the ChtmlFormAdapter class.

(see also Protected Properties )
  Name Description
Public property Device  Returns the device capabilities object associated with the request.(Inherited from ControlAdapter.)
Public property ItemWeight  Accesses the approximate weight of a single item in the control.(Inherited from ControlAdapter.)
Public property Page  Returns the page associated with the device adapter.(Inherited from ControlAdapter.)
Public property RequiresFormTag  Gets a value indicating whether an adapter, such as the ChtmlCommandAdapter class, generates markup that requires <Form> tags for form submission.(Inherited from HtmlControlAdapter.)
Public property Style  Returns the style object associated with the control to which the device adapter is attached.(Inherited from ControlAdapter.)
Public property VisibleWeight  Gets or sets the approximate weight of the control, in characters.(Inherited from ControlAdapter.)

  Name Description
Protected property Control  Returns a strongly typed reference to the associated control.(Inherited from HtmlFormAdapter.)
Protected property FormAdapter  Retrieves the form adapter for the form on which the associated control resides.(Inherited from HtmlControlAdapter.)
Protected property PageAdapter  Returns the page adapter for the mobile page.(Inherited from HtmlControlAdapter.)
Protected property SecondaryUIMode  Sets or returns the secondary user-interface (UI) mode for the control.(Inherited from HtmlControlAdapter.)

(see also Protected Methods )
  Name Description
Public method CreateTemplatedUI  Called by a control to create a templated UI. (Inherited from ControlAdapter.)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method HandlePostBackEvent  Returns true if the event was handled. (Inherited from ControlAdapter.)
Public method LoadAdapterState  (Inherited from HtmlControlAdapter.)
Public method LoadPostData  Returns true if the adapter handles loading the post data. (Inherited from ControlAdapter.)
Public method OnInit  Called after an object, such as a form or a page, is initialized. (Inherited from ControlAdapter.)
Public method OnLoad  Loads data that pertains to a control, a page, or a device adapter. (Inherited from ControlAdapter.)
Public method OnPreRender  Called by the control's OnPreRender method, to perform adapter-specific work prior to rendering. (Inherited from ControlAdapter.)
Public method OnUnload  Unloads data that pertains to a control, a page, or a device adapter. (Inherited from ControlAdapter.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Render  Overloaded. Generates the target-specific markup for the associated control. (Inherited from HtmlFormAdapter.)
Public method SaveAdapterState  This method is called when the control saves its private view state. (Inherited from HtmlControlAdapter.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)

  Name Description
Protected method AddAccesskeyAttribute  Write a custom attribute access key method, provided that the device supports the attribute. (Inherited from HtmlControlAdapter.)
Protected method AddAttributes  Writes additional attributes that are specific to an adapter. (Inherited from HtmlControlAdapter.)
Protected method AddJPhoneMultiMediaAttributes  Use this method to write custom attributes for J-Phone multimedia attributes. (Inherited from HtmlControlAdapter.)
Protected method CalculateOptimumPageWeight  Determines the optimum page weight for the device. (Inherited from ControlAdapter.)
Protected method DisablePager  Disables the pager UI for the current request. Can be called by an adapter to prevent pagination UI from being generated. (Inherited from HtmlFormAdapter.)
Protected method ExitSecondaryUIMode  Exits any secondary UI mode for the control. (Inherited from HtmlControlAdapter.)
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetDefaultLabel  Returns the localized default string for the label control. (Inherited from ControlAdapter.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method RenderAsHiddenInputField  Renders hidden field text for a control. (Inherited from HtmlControlAdapter.)
Protected method RenderBeginLink  Renders the opening tag of a link. (Inherited from HtmlControlAdapter.)
Protected method RenderBodyTag  Renders the body tag. (Inherited from HtmlFormAdapter.)
Protected method RenderChildren  Renders children of the control. (Inherited from ControlAdapter.)
Protected method RenderEndLink  Renders the end tag of a link. (Inherited from HtmlControlAdapter.)
Protected method RenderExtraHeadElements Overridden. Renders any additional content within the <head> and </ head> tags of the page.
Protected method RenderPager  Renders the pager user interface for the form. (Inherited from HtmlFormAdapter.)
Protected method RenderPagerTag Overridden. Renders a pager tag on paginated forms.
Protected method RenderPostBackEventAsAnchor  Renders a postback event as an anchor, with the text specified by the linkText parameter as a label. (Inherited from HtmlControlAdapter.)
Protected method RenderPostBackEventAsAttribute  Renders a postback event as an attribute. (Inherited from HtmlControlAdapter.)
Protected method RenderPostBackEventReference  Renders a postback event reference. (Inherited from HtmlControlAdapter.)
Protected method ShouldRenderFormTag Overridden. Returns whether to render a form tag.


ChtmlFormAdapter Class
System.Web.UI.MobileControls.Adapters Namespace
Adding New Device Adapters and Device Support

Other Resources

Understanding ASP.NET Adaptive Rendering
Adapter Sets Functionality
Control and Adapter Interaction
ASP.NET Device Filtering Overview

Community Additions