This documentation is archived and is not being maintained.
ControlAdapter Members
Visual Studio 2008
Customizes rendering for the derived control to which the adapter is attached, to modify the default markup or behavior for specific browsers, and is the base class from which all control adapters inherit.
The ControlAdapter type exposes the following members.
| Name | Description | |
|---|---|---|
|
ControlAdapter | Infrastructure. Initializes a new instance of the ControlAdapter class. |
| Name | Description | |
|---|---|---|
|
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. |
|
CreateChildControls | Creates the target-specific child controls for a composite control. |
|
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. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
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. |
|
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. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnInit | Overrides the OnInit method for the associated control. |
|
OnLoad | Overrides the OnLoad method for the associated control. |
|
OnPreRender | Overrides the OnPreRender method for the associated control. |
|
OnUnload | Overrides the OnUnload method for the associated control. |
|
Render | Generates the target-specific markup for the control to which the control adapter is attached. |
|
RenderChildren | Generates the target-specific markup for the child controls in a composite control to which the control adapter is attached. |
|
SaveAdapterControlState | Saves control state information for the control adapter. |
|
SaveAdapterViewState | Saves view state information for the control adapter. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
Browser | Gets a reference to the browser capabilities of the client making the current HTTP request. |
|
Control | Gets a reference to the control to which this control adapter is attached. |
|
Page | Gets a reference to the page where the control associated with this adapter resides. |
|
PageAdapter | Gets a reference to the page adapter for the page where the associated control resides. |
Show: