Export (0) Print
Expand All

WebControlAdapter Members

Customizes rendering for the Web control to which the control adapter is attached, to modify the default markup or behavior for specific browsers.

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

  Name Description
Public method WebControlAdapter Initializes a new instance of the WebControlAdapter class.
Top

  Name Description
Protected property Browser  Gets a reference to the browser capabilities of the client making the current HTTP request.(Inherited from ControlAdapter.)
Protected property Control Gets a reference to the Web control to which this control adapter is attached.
Protected property IsEnabled Gets a value indicating whether the Web control and all its parent controls are enabled.
Protected property Page  Gets a reference to the page where the control associated with this adapter resides.(Inherited from ControlAdapter.)
Protected property PageAdapter  Gets a reference to the page adapter for the page where the associated control resides.(Inherited from ControlAdapter.)
Top

(see also Protected Methods )
  Name Description
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 Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method BeginRender  Called prior to the rendering of a control. In a derived adapter class, generates opening tags that are required by a specific target but not needed by HTML browsers. (Inherited from ControlAdapter.)
Protected method CreateChildControls  Creates the target-specific child controls for a composite control. (Inherited from ControlAdapter.)
Protected method EndRender  Called after the rendering of a control. In a derived adapter class, generates closing tags that are required by a specific target but not needed by HTML browsers. (Inherited from ControlAdapter.)
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 LoadAdapterControlState  Loads adapter control state information that was saved by SaveAdapterControlState during a previous request to the page where the control associated with this control adapter resides. (Inherited from ControlAdapter.)
Protected method LoadAdapterViewState  Loads adapter view state information that was saved by SaveAdapterViewState during a previous request to the page where the control associated with this control adapter resides. (Inherited from ControlAdapter.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnInit  Overrides the OnInit method for the associated control. (Inherited from ControlAdapter.)
Protected method OnLoad  Overrides the OnLoad method for the associated control. (Inherited from ControlAdapter.)
Protected method OnPreRender  Overrides the OnPreRender method for the associated control. (Inherited from ControlAdapter.)
Protected method OnUnload  Overrides the OnUnload method for the associated control. (Inherited from ControlAdapter.)
Protected method Render Overridden. Generates the target-specific markup for the control to which the control adapter is attached.
Protected method RenderBeginTag Creates the beginning tag for the Web control in the markup that is transmitted to the target browser.
Protected method RenderChildren  Generates the target-specific markup for the child controls in a composite control to which the control adapter is attached. (Inherited from ControlAdapter.)
Protected method RenderContents Generates the target-specific inner markup for the Web control to which the control adapter is attached.
Protected method RenderEndTag Creates the ending tag for the Web control in the markup that is transmitted to the target browser.
Protected method SaveAdapterControlState  Saves control state information for the control adapter. (Inherited from ControlAdapter.)
Protected method SaveAdapterViewState  Saves view state information for the control adapter. (Inherited from ControlAdapter.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft