Export (0) Print
Expand All

Control.ResolveAdapter Method

Gets the control adapter responsible for rendering the specified control.

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

'Declaration
Protected Overridable Function ResolveAdapter As ControlAdapter
'Usage
Dim returnValue As ControlAdapter

returnValue = Me.ResolveAdapter
protected ControlAdapter ResolveAdapter ()
protected function ResolveAdapter () : ControlAdapter
Not applicable.

Return Value

A ControlAdapter that will render the control.

ASP.NET Web pages are viewable across a wide range of devices that are capable of requesting pages from the Web. The ResolveAdapter method returns the control adapter responsible for rendering the control on the specific browser or device that requested the ASP.NET page.

The specific adapter type returned depends on the descendent type of the Control class that is being rendered.

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

Community Additions

ADD
Show:
© 2014 Microsoft