The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientMenu Class

Represents a client-side equivalent of the ASPxMenu object.

Declaration

declare class ASPxClientMenu extends ASPxClientMenuBase

Remarks

The ASPxClientMenu object serves as a client-side equivalent of the ASPxMenu control and represents a client menu object. The ASPxClientMenu object derives from the ASPxClientMenuBase object which implements the main functionality of client menus.

Using the inherited methods 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 ASPxClientMenu 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).

Note

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

See Also