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.
Unfortunately, activation email could not send to your email. Please try again.

How to modify TreeViewAdv's Drag and Drop

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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

Thanks!

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

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.

 

Regards,

Karthick



CS_3052008d.zip

Francis Rouleau
Replied On November 18, 2013 12:35 PM

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 06:31 AM

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.

Thanks,
Dinesh Kumar P


TreeViewAdv_Sample_480a7328.zip

Sigrist
Replied On October 11, 2015 11:13 PM

could you please fix the link -  it's broken
thx


Sigrist
Replied On October 11, 2015 11:19 PM

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

IMO - browser related

Attachment: error_369e6cd9.zip

Sigrist
Replied On October 11, 2015 11:21 PM

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


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

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

Regards,
Mariappan S.

CONFIRMATION

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.

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.

;