System.Web.UI.WebControls.Adapters.HierarchicalDataBoundControlAdapter Class

Customizes the behavior of a System.Web.UI.WebControls.HierarchicalDataBoundControl object with which this control adapter is associated, for specific browser requests.

See Also: HierarchicalDataBoundControlAdapter Members


public class HierarchicalDataBoundControlAdapter : WebControlAdapter


The System.Web.UI.WebControls.Adapters.HierarchicalDataBoundControlAdapter class adapts the associated System.Web.UI.WebControls.HierarchicalDataBoundControl control to modify the default markup or behavior for a specific browser. You can extend the System.Web.UI.WebControls.Adapters.HierarchicalDataBoundControlAdapter class to further customize rendering of the System.Web.UI.WebControls.HierarchicalDataBoundControl control.

A System.Web.UI.WebControls.HierarchicalDataBoundControl 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 System.Web.UI.WebControls.HierarchicalDataBoundControl.

Control adapters are.NET components that manage one or more stages in the life cycle of a control for a specific browser. Extending the System.Web.UI.WebControls.Adapters.HierarchicalDataBoundControlAdapter class provides access to the life-cycle stages of the System.Web.UI.WebControls.HierarchicalDataBoundControl 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 System.Web.HttpBrowserCapabilities class to identify the characteristics of the client browser and map the adapter to the browser type.


Namespace: System.Web.UI.WebControls.Adapters
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0