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

Drag-n-Drop, keep the original dock in its zone but create a copy of it and place it in another zone.

3 Answers 49 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Gareth
Top achievements
Rank 1
Gareth asked on 12 Nov 2009, 03:09 PM
I have two drop zones  and have implemented code to make a copy of a dock when dcragged into a zone, but I am having trouble keeping the original dock in its original zone. Instead of having the dock appear in both both copies appear in the destination zone.
Thanks

3 Answers, 1 is accepted

Sort by
0
Gareth
Top achievements
Rank 1
answered on 16 Nov 2009, 04:32 PM
does anyone have any ideas as to how I can achieve the above im getting pretty desperate
0
Pero
Telerik team
answered on 17 Nov 2009, 01:46 PM
Hello Gareth,

Have you seen the following forum post. It might give you an idea about how to implement your specific scenario.

Additionally I have attached a sample that cancels the movement of a RadDock to a new zone and initiates a postback using the __doPostback() JavaScript method. Based on the hidden field value you can create a RadDock in the specific zone (Page_Load event can be used).

Greetings,
Pero
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Gareth
Top achievements
Rank 1
answered on 17 Nov 2009, 02:10 PM
Hi Thanks I have seen that post and have used similar method, I think the last piece of the puzzle is the example that you have provided showing how to cancel the drag. Will try it out now.
Tags
Dock
Asked by
Gareth
Top achievements
Rank 1
Answers by
Gareth
Top achievements
Rank 1
Pero
Telerik team
Share this question
or