Dragging with controls in content

4 posts, 0 answers
  1. Burt Bielicki
    Burt Bielicki avatar
    29 posts
    Member since:
    Mar 2007

    Posted 14 Sep 2007 Link to this post

    Hello,

    If I try to drag a dock to replace another dock with a control in its content, the replacement only works when dragging from below the dock with the control.

    Here's an on-line example:
    http://www.telerik.com/DEMOS/ASPNET/Prometheus/Dock/Examples/Default/DefaultCS.aspx

    1. Drag "Photos from Sofia" straight down to take the place of "Currency Exchange Rates".
    2. The replacement doesn't happen until you get to the bottom of "Current Exchange Rates".
    3. Now drag "Currency Exchange Rates" straight down to take the place of "Photos from Sofia".
    4. The replacement happens near the top (which I think is correct).

    My guess is that the difference is that some of the docks have controls on them and others don't.  We're currently using docks that contain only one control and so if the user wants to replace a control that extends beyond the bottom of the browser window, they have to scroll down to do it.  Is this already being addressed for a future release?

    Thanks a bunch!

    Burt

  2. Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 20 Sep 2007 Link to this post


    Hi Burt ,

    We used the almost the same logic as in www.google.com/ig , since we decided that this is the most popular and intuitive drag-drop behavior available. The DropPlaceHolder appears depending on the mouse position.If you drag a RadDock and the mouse position is over the RadDock2, the DropPlaceHolder will appear before RadDock2. Otherwise the DropPlaceHolder will appear after  RadDock2.

    We understand that the logic might not be the best and we will try to improve it in the future versions of RadDock. Your feedback will be highly appreciated.

    Regards,
    Petio Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Burt Bielicki
    Burt Bielicki avatar
    29 posts
    Member since:
    Mar 2007

    Posted 23 Oct 2007 Link to this post

    Hi,

    Sorry for my delayed response; I was pulled to another project.

    I agree that the dragging behavior you chose was a good choice.  What I was trying to describe in my earlier post was a scenario where that functionality isn't appearing.  Here's another description of what I'm experiencing:

    In IE 6:
    Dock A is docked at the top of a rad docking zone.
    Dock B is docked just below Dock A in the same rad docking zone.
    Dock B has drop down lists contained in it (must have controls).

    SCENARIO 1
    To replace A with B:
    1. Mouse down on A.
    2. Drag down to B.
    3. When the mouse overlaps B, nothing happens.
    4. Continue dragging to the bottom of B.
    5. The place holder appears in place of B.
    6. Mouse released and replace completed.
    SCENARIO 2 (What I think Telerik intended to always be the case)
    To replace A with B:
    1. Mouse down on A.
    2. Drag down to B.
    3. When the mouse overlaps B (approx), the place holder appears in place of B.
    4. Mouse released and replace completed.

    If Dock B has drop down lists (or perhaps any control), scenario 1 occurs, but if Dock B has only images, Scenario 2 occurs.

    Hopefully this post was a little clearer.  Let me know if you'd like more details.

    Thanks!

    Burt
  4. Petya
    Admin
    Petya avatar
    869 posts

    Posted 25 Oct 2007 Link to this post

    Hi Burt Bielicki,

    Thank you very much for the provided clarifications on the issue and for the overall feedback. Currently RadDock Prometheus's mechanism for drag and drop is not perfect even though it is much better that the one of the "regular" RadDock. It is certainly among the features we would like to improve and have logged in our TODO list however I cannot guarantee that we will manage to address it for the next coming update.

    Best wishes,
    Petya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top