I followed the instructions here:
There are basic errors in the XAML which I had to correct along with references to non-existent properties in Telerik classes, and it seems the documentation is out of date as the RadDragAndDropManager has been replaced with the DragDropManager. I tried adding :
...to see if that worked, but nothing. None of the event handlers in the code behind are called.
Could you possibly update the documentation so it works, or post me a solution that works as per the tutorial, i.e. reordering with visual feedback.
5 Answers, 1 is accepted
Thank you for your feedback. May I ask you to try adding telerik:DragDropManager.AllowCapturedDrag="true" along with telerik:RadDragAndDropManager.AllowDrag = "true"?
Please check how this works and let me know if it helps.
the Telerik team
This seems to get the ball rolling.
The next problem seems to be this line in the OnDropQuery handler:
Which I think should be:
It then falls over with:
"Cannot animate the 'Visibility' property on a 'System.Windows.Controls.Grid' using a 'System.Windows.Media.Animation.ObjectAnimationUsingKeyFrames'. "
This seems to be working OK now.
Would still be interested in seeing a version of the how-to using the DragDropManager. Many thanks.
Any solution for this?
Unfortunately we don't have a workaround for the Wheel problem. You can use autoscrolling as an alternative with long lists. You can see a sample here. Or you can use the built in one in RadListBox.
As to the RowReordering implementation with DragDropManager, the idea behind the implementation is the same, the only thing you need to change is the events you are using. Here is an article on how to migrate a project between the two managers.
Hope this helps!
the Telerik team