[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Collapse]ASP.NET Bootstrap Controls
  ASP.NET Bootstrap Controls - Overview
 [Expand]Getting Started
 [Expand]Demos and Sample Applications
 [Expand]Project Configuration
 [Expand]Grid View
 [Expand]Card View
 [Expand]Scheduler
  Spreadsheet
  Rich Text Editor
 [Expand]Charts
  Sparkline
 [Expand]Data Editors
 [Expand]Site Navigation
 [Expand]Site Layout
  File Manager
 [Expand]Redistribution and Deployment
 [Collapse]API Reference
  [Expand]DevExpress.Web.Bootstrap
  [Collapse]DevExpress.Web.Bootstrap.Scripts
   [Collapse]BootstrapClientAccordion Class
     BootstrapClientAccordion Members
     BootstrapClientAccordion Constructor
    [Collapse]BootstrapClientAccordion Methods
     [Expand]GetActiveGroup Method
     [Expand]GetGroup Method
     [Expand]GetGroupByName Method
     [Expand]GetItemByName Method
     [Expand]GetSelectedItem Method
     [Expand]SetActiveGroup Method
     [Collapse]SetSelectedItem Method
       SetSelectedItem(BootstrapClientAccordionItem) Method
   [Expand]BootstrapClientAccordionGroup Class
   [Expand]BootstrapClientAccordionGroupCancelEventArgs Class
    BootstrapClientAccordionGroupCancelEventHandler Delegate
   [Expand]BootstrapClientAccordionGroupClickEventArgs Class
    BootstrapClientAccordionGroupClickEventHandler Delegate
   [Expand]BootstrapClientAccordionGroupEventArgs Class
    BootstrapClientAccordionGroupEventHandler Delegate
   [Expand]BootstrapClientAccordionItem Class
   [Expand]BootstrapClientAccordionItemEventArgs Class
    BootstrapClientAccordionItemEventHandler Delegate
   [Expand]BootstrapClientBinaryImage Class
   [Expand]BootstrapClientButton Class
   [Expand]BootstrapClientButtonEdit Class
   [Expand]BootstrapClientCalendar Class
   [Expand]BootstrapClientCallbackPanel Class
   [Expand]BootstrapClientCardView Class
   [Expand]BootstrapClientChart Class
   [Expand]BootstrapClientChartBase Class
    BootstrapClientChartBaseDoneEventHandler Delegate
    BootstrapClientChartBaseLegendClickEventHandler Delegate
    BootstrapClientChartBasePointClickEventHandler Delegate
    BootstrapClientChartBasePointHoverChangedEventHandler Delegate
    BootstrapClientChartBasePointSelectionChangedEventHandler Delegate
    BootstrapClientChartBaseTooltipHiddenEventHandler Delegate
    BootstrapClientChartBaseTooltipShownEventHandler Delegate
   [Expand]BootstrapClientChartZoomEndEventArgs Class
    BootstrapClientChartZoomEndEventHandler Delegate
    BootstrapClientChartZoomStartEventHandler Delegate
   [Expand]BootstrapClientCheckBox Class
   [Expand]BootstrapClientCheckBoxList Class
   [Expand]BootstrapClientComboBox Class
    BootstrapClientCoordinateSystemChartArgumentAxisClickEventHandler Delegate
    BootstrapClientCoordinateSystemChartSeriesClickEventHandler Delegate
    BootstrapClientCoordinateSystemChartSeriesHoverChangedEventHandler Delegate
    BootstrapClientCoordinateSystemChartSeriesSelectionChangedEventHandler Delegate
   [Expand]BootstrapClientDateEdit Class
   [Expand]BootstrapClientDropDownEdit Class
   [Expand]BootstrapClientFileManager Class
   [Expand]BootstrapClientFormLayout Class
   [Expand]BootstrapClientGridView Class
   [Expand]BootstrapClientHyperLink Class
   [Expand]BootstrapClientImage Class
   [Expand]BootstrapClientListBox Class
   [Expand]BootstrapClientListBoxItem Class
   [Expand]BootstrapClientMemo Class
   [Expand]BootstrapClientMenu Class
   [Expand]BootstrapClientMenuItem Class
   [Expand]BootstrapClientMenuItemClickEventArgs Class
    BootstrapClientMenuItemClickEventHandler Delegate
   [Expand]BootstrapClientMenuItemEventArgs Class
    BootstrapClientMenuItemEventHandler Delegate
   [Expand]BootstrapClientMenuItemMouseEventArgs Class
    BootstrapClientMenuItemMouseEventHandler Delegate
   [Expand]BootstrapClientPageControl Class
   [Expand]BootstrapClientPager Class
   [Expand]BootstrapClientPieChart Class
   [Expand]BootstrapClientPolarChart Class
   [Expand]BootstrapClientPopupControl Class
   [Expand]BootstrapClientPopupMenu Class
   [Expand]BootstrapClientProgressBar Class
   [Expand]BootstrapClientRadioButton Class
   [Expand]BootstrapClientRadioButtonList Class
   [Expand]BootstrapClientRangeSelector Class
   [Expand]BootstrapClientRangeSelectorValueChangedEventArgs Class
    BootstrapClientRangeSelectorValueChangedEventHandler Delegate
   [Expand]BootstrapClientRibbon Class
   [Expand]BootstrapClientSparkline Class
    BootstrapClientSparklineOptionChangedEventHandler Delegate
    BootstrapClientSparklineTooltipHiddenEventHandler Delegate
    BootstrapClientSparklineTooltipShownEventHandler Delegate
   [Expand]BootstrapClientSpinEdit Class
   [Expand]BootstrapClientTab Class
   [Expand]BootstrapClientTabControl Class
   [Expand]BootstrapClientTabControlTabCancelEventArgs Class
    BootstrapClientTabControlTabCancelEventHandler Delegate
   [Expand]BootstrapClientTabControlTabClickEventArgs Class
    BootstrapClientTabControlTabClickEventHandler Delegate
   [Expand]BootstrapClientTabControlTabEventArgs Class
    BootstrapClientTabControlTabEventHandler Delegate
   [Expand]BootstrapClientTagBox Class
   [Expand]BootstrapClientTextBox Class
   [Expand]BootstrapClientTimeEdit Class
   [Expand]BootstrapClientToolbar Class
   [Expand]BootstrapClientTreeView Class
   [Expand]BootstrapClientTreeViewNode Class
   [Expand]BootstrapClientTreeViewNodeCancelEventArgs Class
    BootstrapClientTreeViewNodeCancelEventHandler Delegate
   [Expand]BootstrapClientTreeViewNodeClickEventArgs Class
    BootstrapClientTreeViewNodeClickEventHandler Delegate
   [Expand]BootstrapClientTreeViewNodeEventArgs Class
    BootstrapClientTreeViewNodeEventHandler Delegate
   [Expand]BootstrapClientTreeViewNodeProcessingModeEventArgs Class
    BootstrapClientTreeViewNodeProcessingModeEventHandler Delegate
   [Expand]BootstrapClientUploadControl Class
   [Expand]BootstrapClientUtils Class
   [Expand]BootstrapUIWidgetBase Class
    BootstrapUIWidgetDisposingEventHandler Delegate
    BootstrapUIWidgetDrawnEventHandler Delegate
   [Expand]BootstrapUIWidgetElementActionEventArgs Class
   [Expand]BootstrapUIWidgetElementClickEventArgs Class
   [Expand]BootstrapUIWidgetErrorEventArgs Class
    BootstrapUIWidgetErrorEventHandler Delegate
   [Expand]BootstrapUIWidgetEventArgsBase Class
    BootstrapUIWidgetExportedEventHandler Delegate
   [Expand]BootstrapUIWidgetExportEventArgs Class
    BootstrapUIWidgetExportingEventHandler Delegate
    BootstrapUIWidgetFileSavingEventHandler Delegate
    BootstrapUIWidgetInitializedEventHandler Delegate
   [Expand]BootstrapUIWidgetOptionChangedEventArgs Class
    BootstrapUIWidgetOptionChangedEventHandler Delegate
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

BootstrapClientAccordion.SetSelectedItem(BootstrapClientAccordionItem) Method

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

Namespace:DevExpress.Web.Bootstrap.Scripts
Assembly:DevExpress.Web.Bootstrap.v18.2.Scripts.dll

Expanded Syntax

Parameters

item
Type: BootstrapClientAccordionItem
A BootstrapClientAccordionItem object specifying the item to select.

Expanded Remarks

If the DevExpress.Web.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.

Expanded See Also

Is this topic helpful?​​​​​​​