This documentation is archived and is not being maintained.

HtmlControlAdapter Members

Provides the control adapter base class for the HTML adapter set.

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

  Name Description
Public method HtmlControlAdapter Creates a new instance of the HtmlControlAdapter class.

  Name Description
Protected field Static NotSecondaryUI Returns a constant that defines a mode where no secondary UI is displayed. This field is read-only.

(see also Protected Properties )
  Name Description
Public property Control  Returns a strongly typed reference to the associated control.(Inherited from ControlAdapter.)
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.
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 FormAdapter Retrieves the form adapter for the form on which the associated control resides.
Protected property PageAdapter Returns the page adapter for the mobile page.
Protected property SecondaryUIMode Sets or returns the secondary user-interface (UI) mode for the control.

(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 Overridden.  
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.
Public method SaveAdapterState Overridden. This method is called when the control saves its private view state.
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.
Protected method AddAttributes Writes additional attributes that are specific to an adapter.
Protected method AddJPhoneMultiMediaAttributes Use this method to write custom attributes for J-Phone multimedia attributes.
Protected method CalculateOptimumPageWeight  Determines the optimum page weight for the device. (Inherited from ControlAdapter.)
Protected method ExitSecondaryUIMode Exits any secondary UI mode for the control.
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.
Protected method RenderBeginLink Renders the opening tag of a link.
Protected method RenderChildren  Renders children of the control. (Inherited from ControlAdapter.)
Protected method RenderEndLink Renders the end tag of a link.
Protected method RenderPostBackEventAsAnchor Renders a postback event as an anchor, with the text specified by the linkText parameter as a label.
Protected method RenderPostBackEventAsAttribute Renders a postback event as an attribute.
Protected method RenderPostBackEventReference Renders a postback event reference.