Skip to main content

ASPxClientPageControl Class

Represents a client-side equivalent of the ASPxPageControl object.

Declaration

declare class ASPxClientPageControl extends ASPxClientTabControlBase

Remarks

The ASPxClientPageControl object serves as a client-side equivalent of the ASPxPageControl object and represents a client object which maintains a collection of tabbed pages. The ASPxClientPageControl object derives from the ASPxClientTabControlBase object which implements the main functionality of a client tab/page control object.

Using the inherited methods a particular page can be accessed by its index or name (ASPxClientTabControlBase.GetTab, ASPxClientTabControlBase.GetTabByName), the selected page can be obtained or changed (ASPxClientTabControlBase.GetActiveTab, ASPxClientTabControlBase.SetActiveTab) and the total number of pages can be retrieved (ASPxClientTabControlBase.GetTabCount).

In addition, the ASPxClientPageControl object implements a pair of the ASPxClientPageControl.GetTabContentHTML and ASPxClientPageControl.SetTabContentHTML methods which allow you to obtain and control the HTML content of a specific tab page within the page control.

The client events available via the ASPxClientPageControl object allow you to respond to a change to an active tab within a tab control (ASPxClientTabControlBase.ActiveTabChanging, ASPxClientTabControlBase.ActiveTabChanged).

Note

The client-side programmatic interface is available if the ASPxTabControlBase.EnableClientSideAPI property is set to true.

See Also