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

RadDragAndDropManager with LayoutTransformer

3 Answers 50 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 16 Apr 2011, 12:10 AM
I am using RadDragAndDropManager to drag items from a RadPanelBar to an ItemsControl that has a canvas set as it's ItemsPanel.

The ItemsControl that I am dragging on to is inside of a LayoutTransformer control from the Silverlight toolkit, that has a scale applied to it.  I am using it to have a zoom functionality on the canvas.

The issue is that the RadDragAndDropManager does not seem to realize when the LayoutTransformer has changed the size of the canvas.  For example, say I start with a canvas size of 100 x 100, then I zoom in to 200%.  The RadDragAndDropManager will not report a drop on anything outside of the original 100 x 100 size on the screen.

Is there anyway to resolve this?

3 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 1
answered on 19 Apr 2011, 02:23 PM
No love on this one?  Should I provide a code sample?
0
Tsvyatko
Telerik team
answered on 20 Apr 2011, 09:45 AM
Hi Kevin,

 We have tried to reproduce this issue from our side, however, with no success. The drop functionality works  when the scale transform is applied before as well as during the drag operation. Please, check the attachment and let us know if there are some specifics in your scenario that are not included in sample project. If possible, could you please send us application that reproduces the problem (you can send project by opening support ticket).

Regards,
Tsvyatko
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
0
Kevin
Top achievements
Rank 1
answered on 21 Apr 2011, 02:36 AM
After dismantling my project, I finally found the issue.  It seems that a DropShadowEffect on the destination element is what was throwing everything off.

So basically, When using LayoutTransformer and RadDragDropManager, don't use a DropShadowEffect on your drop destination!

Obscure, I know, but it took me several hours to figure it out!

Thanks,
KB
Tags
DragAndDrop
Asked by
Kevin
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 1
Tsvyatko
Telerik team
Share this question
or