Compass on Drag&Drop

8 posts, 0 answers
  1. Martin Roussel
    Martin Roussel avatar
    246 posts
    Member since:
    Jan 2010

    Posted 07 Oct 2010 Link to this post

    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

  2. George
    Admin
    George avatar
    1332 posts

    Posted 12 Oct 2010 Link to this post

    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
  3. DevCraft banner
  4. Martin Roussel
    Martin Roussel avatar
    246 posts
    Member since:
    Jan 2010

    Posted 22 Oct 2010 Link to this post

    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
  5. George
    Admin
    George avatar
    1332 posts

    Posted 27 Oct 2010 Link to this post

    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
  6. Martin Roussel
    Martin Roussel avatar
    246 posts
    Member since:
    Jan 2010

    Posted 27 Oct 2010 Link to this post

    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,
  7. George
    Admin
    George avatar
    1332 posts

    Posted 02 Nov 2010 Link to this post

    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
  8. Greg
    Greg avatar
    6 posts
    Member since:
    Jun 2012

    Posted 19 Apr 2011 Link to this post

    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
  9. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 22 Apr 2011 Link to this post

    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
Back to Top
DevCraft banner