System.Web.UI.Adapters.PageAdapter Class

Adapts a Web page for a specific browser and provides the base class from which all page adapters inherit, directly or indirectly.

See Also: PageAdapter Members

Syntax

public abstract class PageAdapter : ControlAdapter

Remarks

The System.Web.UI.Adapters.PageAdapter class is an abstract class that adapts a Web page for a specific class of browsers, defined by the markup language that the browser uses (for example, HTML or XHTML). Much of the adaptability in rendering behavior can be encapsulated in the specialized text writer classes that derive from the System.Web.UI.HtmlTextWriter class, so it is not always necessary to provide a page adapter.

Most members of derived page adapters are called from the System.Web.UI.Page class or from control adapters. First, the System.Web.UI.Page class or control adapters detect the presence of the derived page adapter, and then call the member, or provide the functionality if the page adapter is not present.

The members of the System.Web.UI.Adapters.PageAdapter class provide the following functionality:

Requirements

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