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

Image not displayed in drag cue

1 Answer 19 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Francisco
Top achievements
Rank 1
Francisco asked on 16 Jan 2012, 10:11 AM

I have an application where I use silverlight 4 + Telerik controls Q2 + Prism. When I drag and drop some element from one control to another one, I want to set in the drag cue a image contained in my xap but the image isn't displayed.

Curiously, If I show this image in the main.xaml (for example in a image control) and after that I do drag and drop, the image is displayed properly in the drag cue. It's like the image must be registered in memory or something like that in order to be used.

Do you know if it's necessary to register images or load them in memory in order to be used later in the drag cue?

I have tested setting

RadDragAndDropManager.ExecutionMode = DragExecutionMode.Legacy; 

in OnDragQuery and in App constructor but it doesn't work.

Thanks a lot!

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 16 Jan 2012, 02:30 PM
Hi Francisco,

We tried reproducing the behavior you described, but unfortunately to no success. I am attaching the project that we used, for your reference. Could you please check if the demonstrated implementation differs from your scenario? If it is possible could you modify it so it reproduces the problem, and specify which change makes the behavior occur?

Thanks in advance!  

Regards,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
DragAndDrop
Asked by
Francisco
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or