DropQuery and DragQuery events not fired

2 posts, 0 answers
  1. Lorenzo
    Lorenzo avatar
    3 posts
    Member since:
    Jul 2012

    Posted 22 Sep 2011 Link to this post

    Good morning
    As the title say, RadDragAndDropManager dont fire the DropQuery and DragQuery events.
    in XAML:

    and, in code behind, there is the implementation of events.
    Setting a breakpoint into the events, it's never hit.
    Need the DropQuery event because, in my application, there are rules that allow or not 
    the drop of an element under another element;
    and (as i read from help) i would like to set the QueryResult to false, cancelling drop.
    The second question is:
    I would like to show an icon (like denial of access)  when the DragCueItem is on an item 
    on which drop operation is not allowed.

  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 26 Sep 2011 Link to this post

    Hello Lorenzo,

    I have tested how the Drag and Drop events are fired with the Q2 SP 1 version of the RadControls.

    When I define them in XAML, like you have shown, they are fired fine. Along with them I set those 2 properties as well:


    Have you defined those two properties as well?

    Regarding your 2-nd question, yes, you could use an Image for the DragCue. For more information please refer to this forum post.

    the Telerik team

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

  3. DevCraft banner
Back to Top