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

Move tool window from one dock to another?

6 Answers 113 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Erwin
Top achievements
Rank 1
Erwin asked on 22 Oct 2009, 09:13 PM
Hello,

I was wondering whether it was natively possible to move a tool window from one dock to another, or if we had to do the job manually using the drag drop events.

Any clue on how to enable this feature? The purpose is to achieve a Google Chrome like behaviour...

I have browsed the forum but unfortunately with no luck on this.

Thanks!

6 Answers, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 28 Oct 2009, 11:55 AM
Hi Erwin,

Thank you for writing.

RadDock does not support moving tool windows between different dock instances. However, you can implement it on your own using the standard Drag and Drop functionality. Because you are the first customer to ask for this, we have not a ready example. However if you want to implement such a scenario, I will be glad to help you and answer your questions.

Regards,
Martin Vasilev
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
Erwin
Top achievements
Rank 1
answered on 28 Oct 2009, 08:06 PM
Hi Martin,

I would certainly appreciate your help on how to implement it using the standard drag and drop functionality. Should we pass the whole ToolWindow as object in the DragDrop initialization, receive it on the destination raddock and display it, and finally delete the ToolWindow on the original RadDock? Or, due to difficulties with deep copies, should we just add the reference to the second raddock, show the ToolWindow, and remove it from the ToolWindows in the first raddock (but not delete the object, just the reference).

If you already know the perfect code for this, I will be eager to read it! Otherwise I'll try by myself but I may not do the things the optimal way.

Best regards
0
Martin Vasilev
Telerik team
answered on 03 Nov 2009, 11:57 AM
Hello Erwin,

Thank you for getting back to me. Since your scenario is very specific, we have no example of Drag and Drop between two RadDocks. In addition such a scenario is a bit strange, because the idea of RadDock is to handle multiple tool window operations itself. You can find a lot of examples how to implement Drag and Drop through the standard .Net Framework methods in MSDN and various internet sources. However, we will appreciate if you share more details on your goal, because it seems that your scenario is unusual and interesting.

Greetings,
Martin Vasilev
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
Cyril Hr
Top achievements
Rank 1
answered on 15 Apr 2010, 03:52 PM
Hello, I think I'm doing it wrong and since it I got a problem due to 2 radock, I'm posting here ...
What I'm trying to do is to have 2 radock, one on the left, one on the right. So that the user can't mix all windows

The things is that any windows of one Raddock can be drag to the other raddock and then the window crash ... I'm unable to find a way to prevent that.

So first of all, I'm not sure if It's necessary to use 2 radDock for that
And secondly, if I really need 2 radDock, how can I block the drag & drop from one to the other.

Thx in advance
Cyril
0
Cyril Hr
Top achievements
Rank 1
answered on 20 Apr 2010, 09:26 AM
Any idea ?
0
Martin Vasilev
Telerik team
answered on 20 Apr 2010, 05:02 PM
Hello Cyril Hr,

Thank you for contacting us.

As I mentioned before, we do not support Drag and Drop between two RadDocks. I would recommend considering on using only one RadDock, since this control is designed to handle multiple tool windows  out-of the box.

Please, take a look in our documentation of the customization abilities of RadDock and check whether they will match your requirements.

Greetings,
Martin Vasilev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Dock
Asked by
Erwin
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Erwin
Top achievements
Rank 1
Cyril Hr
Top achievements
Rank 1
Share this question
or