System.Web.UI.WebControls.Adapters.HideDisabledControlAdapter Class

Provides rendering capabilities for the associated Web control to modify the default markup or behavior for a specific browser.

See Also: HideDisabledControlAdapter Members

Syntax

public class HideDisabledControlAdapter : WebControlAdapter

Remarks

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

Adapters are compiled .NET Framework components that take over one or more stages in the life cycle of a page or control. Extending the System.Web.UI.WebControls.Adapters.HideDisabledControlAdapter class will provide access to the life-cycle stages of the System.Web.UI.WebControls.WebControl 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. For more information, see Architectural Overview of Adaptive Control Behavior.

For a description of the adaptive rendering architecture of ASP.NET and a step-by-step walkthrough that shows how to implement a control adapter and map it to a control, see "Authoring ASP.NET Server Control Adapters: An Introduction" in the MSDN Library at tp://msdn.microsoft.com/library.

Requirements

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