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

Compass on Drag&Drop

7 Answers 77 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Martin Roussel
Top achievements
Rank 1
Martin Roussel asked on 07 Oct 2010, 04:36 PM
Hi everyone,

We have an application where we can drag items from a Listbox to a RadDocking using RadDrag&Drop Manager (as shown in the attached picture). Everything works correctly but when we drop the item, it is by default docked left in the docking and it's causing alot of problems (especially when a lot of items are already in the docking...we lose sight of the newly added items). We would like to have the Compass arrows shown and available before we drop the item (so the user can set the docking layout quickly and easily). Can someone help please?


Regards

7 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 12 Oct 2010, 04:29 PM
Hello Martin,

Unfortunately, this scenario is not supported by RadDocking control. The implementation of Drag and Drop differs from the implementation of dragging of a RadPane in the RadDocking control.

Please do not hesitate to contact us if you require any further information. 

Regards,
George
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
0
Martin Roussel
Top achievements
Rank 1
answered on 22 Oct 2010, 03:12 PM
Thanks George for the reply,
However, can we create our own Compass control in the RadDocking? We are thinking of maybe create a custom one programmatively and make it appear on the drag and doing some logic when we detect the drop on it.

Thank you,

Martin
0
George
Telerik team
answered on 27 Oct 2010, 02:09 PM
Hi Martin,

The RadDocking control doesn't support using a custom compass. You could only style it. We schedule some major changes of the RadDocking control, including using of RadDragAndDropManager. This will allow you easily to accomplish your scenario. But this won't be done until Q1 2011.  

Please do not hesitate to contact us if you require any further information.


Sincerely yours,
George
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
0
Martin Roussel
Top achievements
Rank 1
answered on 27 Oct 2010, 08:05 PM
Thanks again George,

What about I create a custom Compass "outside" my RadDocking? For instance, a UserControl that contains a RadDocking and a custom Compass (the Compass appears over the RadDocking without being its "child"). The thing left is making the Compass arrows visible when I detect a drag and being able to detect the drop (which arrow im dropping on).

What would be the best way to do this? Im not sure if a Templated Control would be better to use than a User Control.

Thanks,
0
George
Telerik team
answered on 02 Nov 2010, 09:24 AM
Hello Martin,

You could use our RadDragAndDropManager in order to accomplish drag and drop. You should decide what is the best way to do this, so that it suits your needs. Unfortunately, we don't support such scenario out-of-the-box. Please, pay attention to that this is not an easy task.  

Kind regards,
George
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
0
Greg
Top achievements
Rank 1
answered on 19 Apr 2011, 06:49 PM
I was just wondering whether or not this scenario is now possible, since 1Q 2011 tools have been released.  And if so, could you please provide an example.  Like the OP, I am trying to drag items from a treeview and have them appear in the Docking control.  Everything works fine if I am dragging and dropping into a radpane or group already visible in the Docking control, but how do I implement the functionality for the user to drag and item from the treeview and drop it on a docking control where the splitContainers are closed or non-existent.  Each time I drag an item over the Dock, compass is not visible at all, and when I release the control none of the DragDropEvents are fired.

Thanks in advance
0
Boyan
Telerik team
answered on 22 Apr 2011, 08:44 AM
Hello Greg,

As George said we were planning major changes in the Docking control for Q1. However as this is a major design change and is not an easy task we were not quite ready for Q1 and we decided that it is better to postpone the release of this rework of the control for Q2 than release half-made control that will cause more trouble than good.

We are sorry for this delay.Don't hesitate to contact us if you have other questions.

Greetings,
Boyan
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
Docking
Asked by
Martin Roussel
Top achievements
Rank 1
Answers by
George
Telerik team
Martin Roussel
Top achievements
Rank 1
Greg
Top achievements
Rank 1
Boyan
Telerik team
Share this question
or