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

    Requirements

    RadControls version

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

    2.0
    Visual Studio version

    2005
    programming language

    C#/VB.NET
    browser support

    all browsers supported by RadTreeView


     
    PROJECT DESCRIPTION
    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