Control.Adapter Property

Gets the browser-specific adapter for the control.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

protected ControlAdapter Adapter { get; }
/** @property */
protected ControlAdapter get_Adapter ()

protected function get Adapter () : ControlAdapter

Not applicable.

Property Value

A ControlAdapter for this control. If the target browser does not require an adapter, returns a null reference (Nothing in Visual Basic).

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 Rendering.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0