Collapse/Expand All Docks with ClientScript

2 posts, 0 answers
  1. Chris
    Chris avatar
    33 posts
    Member since:
    Jan 2007

    Posted 26 Jul 2007 Link to this post


    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 button to trigger all my docks to collapse using ClientScript instead of server-side code with my dynamic docks?

  2. Petya
    Petya avatar
    869 posts

    Posted 27 Jul 2007 Link to this post

    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.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top