This is a migrated thread and some comments may be shown as answers.

Collapse/Expand All Docks with ClientScript

1 Answer 71 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 26 Jul 2007, 08:38 PM
Hello,

I'm dynamically loading RadDocks into one RadDockZone and currently I collapse all the docks by rebuilding the dock list on the server with .collapsed = true. How could I use an asp.net button to trigger all my docks to collapse using ClientScript instead of server-side code with my dynamic docks?

Thanks,
Chris

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 27 Jul 2007, 10:06 AM
Hi Chris,

Please, find attached our My Portal online example modified to demonstrate the desired scenario. For the purpose of the demo, I am collapsing only the docks in one zone, but you can do the same for the docks in all of the zones. If you have any questions concerning the example, fee free to ask.

Greetings,
Petya
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
Chris
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or