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
1192
Drag n Drop node.Could not find any property to defferentiate Drop item inside node or between two node.
posted

I want move item between two adjucent node.

On XamWebTree_ItemDragEnded envent i use e.TargetItem and e.SourceItem to move and accordingly i maintain my domain object. But, When i try to move between two nodes.

I don't find any state to differentite that sourceItem move inside or after e.TargetItem node.

Provide suggestion how to move item between two nodes.

Parents
No Data
Reply
  • 69686
    posted

    Hello,

    You can use the ItemDropped event, where the DroppedEventArgs expose e.DropPosition property, which will help you determine where you are dropping an item - Before, After, Onto.

Children