Skip to main content

ASPxClientMenuItem.GetEnabled Method

Returns a value specifying whether a menu item is enabled.

Declaration

GetEnabled(): boolean

Returns

Type Description
boolean

true if the menu item is enabled; otherwise, false.

Remarks

Use the GetEnabled method to check an item’s ability to respond to end-user interactions (such as mouse hovering or clicks). The initial client availability state of an item can be defined using its server MenuItem.ClientEnabled property. Then, the item’s state can be dynamically changed on the client side using the ASPxClientMenuItem.SetEnabled method.

See Also