This is a migrated thread and some comments may be shown as answers.

Drag and Drop Issue

1 Answer 84 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Fede
Top achievements
Rank 1
Fede asked on 21 Feb 2017, 05:05 PM

Hello,

We are currently using some of your components and we are facing a lot of issues while using RadTreeView. 

Most of them are related to drag/drop operations and the new position of the item in the new TreeView.

As you can see in the video that i attatched everything is working fine until the middle of the video after dragging 5 items to the new TreeView the drag template becomes unstable and blinks, after adding that one to the tree you are not able to keep dragging more items.

The only thing that we modifed is the item template and we are using the latest binaries of UI for WPF.

What we can do?

Thanks

Here you can find the video

https://www.dropbox.com/s/xy6pgw5toynbvpk/dragIssue.mp4?dl=0

 

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 24 Feb 2017, 10:57 AM
Hi Fede,

Thank you for the provided video.

We are not aware of this behavior and weren't able to reproduce it on our side. That is why we would ask to send us isolated project (code snippets) from your application reproducing it so we can further test directly on our side.

In addition, keep in mind that in order for the UI to be updated properly when you perform a drag/drop operation you will need to use an ObservableCollection<T> to store the items. In general, it is recommended to use an observable collection when working with items sources which are updated at run-time. If you have a more complex scenario with trees that contains different view models, you can take a look at the Implement Drag and Drop Between TreeViews help article.

Regards,
Dinko
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
TreeView
Asked by
Fede
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or