Image not displayed in drag cue

2 posts, 0 answers
  1. Francisco
    Francisco avatar
    2 posts
    Member since:
    May 2011

    Posted 16 Jan 2012 Link to this post

    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!

  2. Nick
    Nick avatar
    593 posts

    Posted 16 Jan 2012 Link to this post

    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!  

    the Telerik team

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

Back to Top