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

Telrik Drag and drop not working in model dialog

1 Answer 115 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Mohit Soam
Top achievements
Rank 1
Mohit Soam asked on 17 May 2010, 11:29 AM
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.

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 17 May 2010, 02:47 PM
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.
Tags
DragAndDrop
Asked by
Mohit Soam
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or