Skip to main content

ASPxClientMenuBase Class

Serves as the base type for the ASPxClientMenu and ASPxClientPopupMenu objects.


declare class ASPxClientMenuBase extends ASPxClientControl


This object is the base for the client-side ASPxClientMenu and ASPxClientPopupMenu objects. It implements the common client-side functionality for menu objects.

Using the methods exposed by this object a particular root menu item can be accessed by its index (ASPxClientMenuBase.GetItem), an individual menu item can be accessed by its name (ASPxClientMenuBase.GetItemByName), the selected menu item can be manipulated (ASPxClientMenuBase.GetSelectedItem, ASPxClientMenuBase.SetSelectedItem) and the total number of the root menu items can be retrieved (ASPxClientMenuBase.GetItemCount).

The client events available via the ASPxClientMenuBase object allow you to respond to a click on a menu item (ASPxClientMenuBase.ItemClick) and to opening or closing of a submenu (ASPxClientMenuBase.PopUp, ASPxClientMenuBase.CloseUp).

See Also