System.Web 2.0.0.0 System.Web.UI.WebControls.Adapters.WebControlAdapter

The class adapts the associated control to modify the default markup or behavior for a specific browser. You can extend the class to further customize rendering of the control.

A control is bound to a data source and generates its user interface (or child control hierarchy, typically), by enumerating the items in the data source to which it is bound. For more information on hierarchical data-bound controls, see .

Control adapters are.NET components that manage one or more stages in the life cycle of a control for a specific browser. Extending the class provides access to the life-cycle stages of the control. For more information, see Architectural Overview of Adaptive Control Behavior.

The initial request for an adapter causes the .NET Framework to search for a mapped adapter for the control, given the characteristics of the requesting browser. Browser definition files are used by the class to identify the characteristics of the client browser and map the adapter to the browser type.

Customizes the behavior of a object with which this control adapter is associated, for specific browser requests.

- Constructor

  The .NET Framework constructs an instance of the class. The initial request for an adapter causes the .NET Framework to search for a mapped adapter for the control given the characteristics of the requesting browser. After the adapter is found, the control holds a reference to the mapped adapter instance in its property.

  Initializes a new instance of the class.

  2.0.0.0
- Property
  System.Web.UI.WebControls.HierarchicalDataBoundControl To be added.

  The property provides access to the corresponding control, including its properties and methods.

  Retrieves a strongly typed reference to the control associated with this object.

  2.0.0.0
- Method
  2.0.0.0
  System.Void

  The method binds the data in the specified data source of the associated control to the object. You can override to replace the standard data-binding functionality of the associated control or to provide additional data-binding functionality if the associated control has been extended.

  Binds the data in the data source of the associated hierarchical data-bound control to the adapter.