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

Drag & Drop Confirmation

1 Answer 66 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 1
Alan asked on 30 Jul 2012, 07:49 PM
I have a radtreeview where I can drag and drop nodes and reorder them. Everything is working but what I'd like to do is add a RadConfirm  or RadWindow message after a node is dropped that asks for confirmation before the node is dropped. I can't seem to figure out how this can be done. In my OnClientNodeDropping, I am opening a radwindow, but because the RadWindow works asynchronously, my ClientNodeDropping function is exiting before I get a response from the radwindow. Any kind of example on how to do this would be appreciated!

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 02 Aug 2012, 03:30 PM
Hello Alan,

 
You can cancel the OnClientNodeDropping event, save the destination node and source node globally and open the confirmation window. If the operation is "confirmed" add a source not as it is done in this on-line demo

Hope this will be helpful.

Regards,
Plamen
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
Alan
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or