Recently I faced a problem in making all panes of the Accordion control close by default, and I spent many hours searching until I discovered a solution by myself. And here is what we should do:
In the Accordion control, set requireopenedpane
to false
and selectedindex="-1"
.
It will work like magic. Good luck.