BootstrapClientPopupMenu.SetSelectedItem(item) Method

Selects the specified menu item within a the Popup Menu control on the client side.


    item: BootstrapClientMenuItem
): void


Name Type Description
item BootstrapClientMenuItem

A BootstrapClientMenuItem object specifying the menu item to select.


If the ASPxMenuBase.AllowSelectItem property is set to true, end users are allowed to select menu items via mouse clicks. The Popup Menu control also provides the ability to select menu items on the client side via code. You can use the SetSelectedItem method for this purpose.

To make none of the items selected within the Popup Menu control, pass null as the method’s parameter.

See Also