Undo Drag & Drop operations

Thread is closed for posting
1 posts, 1 answers
  1. Answer
    Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 05 Nov 2008 Link to this post


    RadControls version

    RadTreeView "Classic" and RadTreeView for ASP.NET AJAX
    .NET version

    Visual Studio version

    programming language

    browser support

    all browsers supported by RadTreeView

    The project shows how to support 'Undo' of Drag & Drop operations with RadTreeView.

    A Stack<string> is used to store the XML of the TreeView before each Drag & Drop operation. 'Undo' loads TreeView from the to XML in the Stack.

    Note: this technique can be used with every RadControl which supports the GetXml and LoadXmlString methods.

    Suggested by: Jason Mogera
Back to Top