Skip to main content
.NET Framework Class Library
ControlAdapter Property

Gets the browser-specific adapter for the control.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)
Syntax
Protected ReadOnly Property Adapter As [%$TOPIC/20fz117d_en-us_VS_110_1_0_0_0_0%]
protected [%$TOPIC/20fz117d_en-us_VS_110_1_0_1_0_0%] Adapter { get; }
protected:
property [%$TOPIC/20fz117d_en-us_VS_110_1_0_2_0_0%]^ Adapter {
	[%$TOPIC/20fz117d_en-us_VS_110_1_0_2_0_1%]^ get ();
}
member Adapter : [%$TOPIC/20fz117d_en-us_VS_110_1_0_3_0_0%] with get

Property Value

Type: System.Web.UI.AdaptersControlAdapter
A ControlAdapter for this control. If the target browser does not require an adapter, returns .
Remarks

ASP.NET Web pages are usable across a wide range of devices and browsers that can request information from the Web. The Adapter property returns the ControlAdapter object that renders the control on the requesting device or browser's screen.

For more information about adapters, see Architectural Overview of Adaptive Control Behavior.

Version Information

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0
Platforms

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.