Skip to main content

BootstrapClientAccordion.SetSelectedItem(item) Method

Selects the specified item within the Accordion control on the client side.

Declaration

SetSelectedItem(
    item: BootstrapClientAccordionItem
): void

Parameters

Name Type Description
item BootstrapClientAccordionItem

A BootstrapClientAccordionItem object specifying the item to select.

Remarks

If the ASPxNavBar.AllowSelectItem property is set to true, end users are allowed to select items via mouse clicks. The Accordion also provides the ability to select 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 Accordion control, pass null as the method’s parameter.

See Also