My best suggestion would be to enable the minimize/maximize functionality of the RadPanelBar control either in the markup of the server-side of your page (using the EnableMinimizing="true"
property). Then, you can easily manipulate it with either the set_minimized()/set_maximized()
functions by using the desired event.
Considering the differences between the two properties - minimize();
- we decided to implement both of them for simplicity purposes. As you can see from the code that Princy provided, by calling the minimize()
function you actually call the set_minimized(true)
All the best,
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed