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
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
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
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.
George
the Telerik team
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,
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.
George
the Telerik team
Thanks in advance
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