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

Dragging with controls in content

3 Answers 75 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Burt Bielicki
Top achievements
Rank 1
Burt Bielicki asked on 15 Sep 2007, 12:17 AM

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

3 Answers, 1 is accepted

Sort by
0
Petio Petkov
Telerik team
answered on 20 Sep 2007, 02:53 PM

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
0
Burt Bielicki
Top achievements
Rank 1
answered on 23 Oct 2007, 08:40 PM
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
0
Petya
Telerik team
answered on 25 Oct 2007, 02:39 PM
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
Tags
Dock
Asked by
Burt Bielicki
Top achievements
Rank 1
Answers by
Petio Petkov
Telerik team
Burt Bielicki
Top achievements
Rank 1
Petya
Telerik team
Share this question
or