RadDockZone - Couldn't get the position

2 posts, 0 answers
  1. siva
    siva avatar
    2 posts
    Member since:
    Mar 2011

    Posted 25 Mar 2011 Link to this post

    I have used RadDockZone to perform drag and drop. The Drag and Drop works fine. But the problem is i couldn't save or maintain the order in which the final drag and drop leaves.
    i.e if initially, the order is as 

    Item A - dock[0]
    Item B - dock[1]
    Item C - dock[2]
    Item D - dock[3]
    After several drag and drop, the order is changed as
    Item C - dock[2]
    Item D - dock[3]
    Item B - dock[1]
    Item A - dock[0]

    I couldn't save the position that 'Item C' is now in 1st position, 'Item D' in 2nd position...etc of the order.
    Is there any way to save the actual position i.e the order ?

  2. Pero
    Pero avatar
    1156 posts

    Posted 25 Mar 2011 Link to this post

    Hello siva,

    I believe the following demo should be a good starting point for saving and loading not only the positions of the docks, but also their pinned, collapsed and closed state. Here is a link to it: Load and Save Layout demo.
    Note that the state is saved after pressing the "Save Current Layout" button.

    the Telerik team
  3. DevCraft R3 2016 release webinar banner
Back to Top