Control.ResolveAdapter Method

Gets the control adapter responsible for rendering the specified control.

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

protected virtual ControlAdapter ResolveAdapter()

Return Value

Type: System.Web.UI.Adapters.ControlAdapter
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 Control Behavior.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft