BootstrapClientMenu.SetSelectedItem(item) Method
In This Article
Selects the specified menu item within the Menu control on the client side.
#Declaration
TypeScript
SetSelectedItem(
item: BootstrapClientMenuItem
): void
#Parameters
Name | Type | Description |
---|---|---|
item | Bootstrap |
A Bootstrap |
#Remarks
If the ASPxMenuBase.AllowSelectItem property is set to true, end users are allowed to select menu items via mouse clicks. The 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 a menu control, pass null as the method’s parameter.
See Also