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

Prompt Dialog upon Drag and Drop

1 Answer 35 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Pete
Top achievements
Rank 1
Pete asked on 01 May 2012, 02:09 PM
Hello,
I have a treeview that allows drag and drop. I'm able to move or copy branches server side in the "OnNodeDrop" event, from one node to another.  What I would like to do is when a user attempts to drag a node and drop it, before this happens popup a dialog that asks the user to Move, Copy or Cancel the operation.  Based upon that input response perform the necessary action.  What is the best way to implement this? Thanks

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 03 May 2012, 03:01 PM
Hello Pete,

I've attached a sample project that demonstrates how you can achieve this functionality with the help of RadWindow. In the sample I've implemented a client-based drag and drop mechanism, which will preserve the transferred items after postback, which is the best and simplest approach when using RadWindow.

Regards,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
TreeView
Asked by
Pete
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or