This documentation is archived and is not being maintained.
IControlAdapter Members
Visual Studio 2008
Defines the interface to a control adapter.
The IControlAdapter type exposes the following members.
| Name | Description | |
|---|---|---|
|
CreateTemplatedUI | Called by base classes to create a templated UI. |
|
HandlePostBackEvent | Returns true if the event was handled. |
|
LoadAdapterState | Returns the adapter-specific view for a control. |
|
LoadPostData | Returns true if the adapter handles loading the post data. |
|
OnInit | Called after an object, such as a form or a page, is initialized. |
|
OnLoad | Loads data that pertains to a control, a page, or a device adapter. |
|
OnPreRender | Called by the control's OnPreRender method, to perform adapter-specific work prior to rendering. |
|
OnUnload | Unloads data that pertains to a control, a page, or a device adapter. |
|
Render | Called by the control's Render method to perform rendering. |
|
SaveAdapterState | This method is called when the control saves its private view state. |
| Name | Description | |
|---|---|---|
|
Control | Returns a strongly typed reference to the associated control. |
|
ItemWeight | Accesses the approximate weight of a single item in the control. |
|
Page | Returns the page associated with the device adapter. |
|
VisibleWeight | Returns the approximate weight of the control, in characters. |
Show: