Search code examples
asp.netaccordion

Accordion SelectedIndex behind code of last item selected?


is it possible in behind code to set the SelectedIndex of an accordion to the same Index of what the user just click?


Solution

  •     Accordion.SelectedIndex = -1;
        Accordion.RequireOpenedPane = false;