Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
Dragging and dropping nodes within the same tree
posted

Weird problem - hoping somebody can help. We recently migrated from 8.2 to 10.2. This started happening since then, was working before.

The drag and drop between 2 trees works ok, but within the same tree dragging from a top node and putting it down moves it one node down than expected.

 

 

Parents
No Data
Reply
  • 230
    posted

    Forgot to add the piece of code we are using to fetch the destination node.

    private

     

     

     

    Point cursorPos = destinationTree.PointToClient(new Point(e.X, e.Y));
    UltraTreeNode destinationNode = destinationTree.GetNodeFromPoint(cursorPos);
    }

    void ProjectTreeView_DragDrop(object sender, DragEventArgs e)
    {
    UltraTree destinationTree = sender as UltraTree;
    PAApplication app = null;
Children