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

RadDockZone - Couldn't get the position

1 Answer 35 Views
Dock
This is a migrated thread and some comments may be shown as answers.
siva
Top achievements
Rank 1
siva asked on 25 Mar 2011, 09:42 AM
Hi, 
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 ?


1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 25 Mar 2011, 12:18 PM
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.

Regards,
Pero
the Telerik team
Tags
Dock
Asked by
siva
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or