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".
requireopenedpane
false
selectedindex="-1"
It will work like magic. Good luck.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.