Defines the interface to a control adapter.
The following tables list the members exposed by the IControlAdapter type.
|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.|
|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.|