We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to modify TreeViewAdv's Drag and Drop

Thread ID:





107072 Feb 11,2013 06:53 PM UTC Oct 12,2015 11:45 AM UTC WPF 7
Tags: TreeViewAdv
Elysia Nuttall
Asked On February 11, 2013 06:53 PM UTC

I need to modify three things with the TreeViewAdv's Drag and Drop but am unsure how to do so. My TreeViewAdv has only two levels of nodes, Parent and Child, which are represented by different classes.

I need to:
1) disallow users from dragging a Parent into another Parent but allow reordering Parents

2) disallow users from dragging Child nodes onto the Parent level but allow reordering Children within the same Parent and dragging Children into other Parents

3) choose between moving or copying a Child node to another Parent or canceling the entire drag/drop action based on a user choice


Karthick Ravichandran [Syncfusion]
Replied On February 25, 2013 11:33 AM UTC

Hi Elysia,


Thanks for using Syncfusion Products.


We have prepared a sample based on your requirement “TreeViewAdv Drag and Drop” and you can find the sample from the attachment.


Please let us know if this helps.





Francis Rouleau
Replied On November 18, 2013 05:35 PM UTC

I need very similar. I can't download the file i get an access denied.

I need to have drag drop reodering on the same level for a specific heriachical template Child of a Child

wha i mean is : Parent -> Child - SubChild -> SubSubChild -> ....
I have heriacical tmeplate all over the place and am looking to reoder Child or type(MyClassA) to be drag drop sortable inside it's parent ONLY.

Dinesh Kumar P [Syncfusion]
Replied On November 26, 2013 11:31 AM UTC

Hi Francis Rouleau,

Sorry for the delay.

Please find the requested sample to achieve Drag and Drop functionality in TreeViewAdv from the below attachment.  

Please let us know if the sample meets your requirement.

Dinesh Kumar P


Replied On October 12, 2015 03:13 AM UTC

could you please fix the link -  it's broken

Replied On October 12, 2015 03:19 AM UTC

solved - clicking on the link >error message (zip)
save as - worked

IMO - browser related

Attachment: error_369e6cd9.zip

Replied On October 12, 2015 03:21 AM UTC

Nope - the file is corrupted !
Seems like there's a problem with both example files.

Mariappan S [Syncfusion]
Replied On October 12, 2015 11:45 AM UTC

Hi Sigrist,

Sorry for the inconvenience caused

We have updated the sample for drag and drop functionality in our TreeViewAdv.

Please download the sample from the below link.

Sample link: TreeViewSample

Mariappan S.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon