Drag & Drop Confirmation

2 posts, 0 answers
  1. Alan
    Alan avatar
    9 posts
    Member since:
    Mar 2009

    Posted 30 Jul 2012 Link to this post

    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!
  2. Plamen
    Admin
    Plamen avatar
    2730 posts

    Posted 02 Aug 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top