Telrik Drag and drop not working in model dialog

2 posts, 0 answers
  1. Mohit Soam
    Mohit Soam avatar
    1 posts
    Member since:
    May 2010

    Posted 17 May 2010 Link to this post

    I am trying to open mode dialog in this Telrik Drag and drop not working. But if i open this window as this.RootVisual it works fine.
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 17 May 2010 Link to this post

    Hi Mohit,

    You will have to add the modal window to the ParticipatingVisualRoots property of RadDragAndDropManager:

    private void OnDragQuery(object sender, DragDropQueryEventArgs e)
    {
        if(!RadDragAndDropManager.Options.ParticipatingVisualRoots.Contains(this))
        {
            RadDragAndDropManager.Options.ParticipatingVisualRoots.Add(this);
        }
     
        // other DragQuery logic here
    }

    I am attaching a sample project demonstrating this functionality. Have a look at it and let me know if you have further questions on the topic.

    Best wishes,
    Kiril Stanoev
    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.
  3. DevCraft banner
Back to Top