You can collapse the items in the PanelBar by using the collapse
In case you need all items in the PanelBar to be collapsed, you can use the approach described in the following link
I have prepared a Dojo example
, where if PanelBar header item is clicked it will be collapsed. At the same time the other items will not be expanded. The approach in ASP.NET projects will be the same.