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

Drag/drop from a listbox in one window to a target in a another (owner) window

1 Answer 83 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 20 Oct 2009, 09:27 PM
I have a tool window (based on System.Windows.Window) which floats on top of my main window.  The tool window has a listbox with items I want to drag to various parts of the main window.

I can initiate a drag operation, but as soon as the mouse gets to the border of the tool window, the drag image gets stuck while the mouse moves on.  My targets never receive any QueryDrop events.

This project is being developed using Prism.  On the Silverlight side, I have a similar tool list hosted in a RadWindow, and drag/drop works great.  I've also tried using RadWindow on the WPF side, but I still have the same problem.

This is the trial version of Telerik.Windows.Controls.dll - Version 2009.2.724.1020


Thanks for you help!


1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 23 Oct 2009, 12:55 PM
Hi Ken,

This is a known limitation for the current implementation of the WPF DragDrop. It uses adorners and the "span" of the adorners is limited to the current window.

We use this implementation because there is a bug in the WPF popups where you cannot open a large popup that covers your screen (you can try to open a popup that covers your screen and you will see the result).

Therefore we cannot show the DragCues across windows and dragging across windows is currently not supported.

Unfortunately we have not found a workaround for the Q3 release of the controls and I reckon that in this case it will be best to use the WPF built-in DragDrop which works across windows.

All the best,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
DragAndDrop
Asked by
Ken
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or