Afternoon
We have a RadTReeView that we drag nodes around to reorder within the same treeview.
There are about 2000 nodes in the tree that is a self referencing data bound and goes about 15 levels deep at some parts of the tree
When we click left mouse down (keeping it down) to drag and drop reorder a node, using the mouse wheel to scroll the tree up or down does not work anymore
We want to for instance drag a node from a location to another location outside the current view, using the mouse wheel to navigate the tree view up and down. This used to work, but not after upgrading to the new 2019 telerik.
Is there a tree view control option that needs to be toggled for this to work?
Thank you
Theo
Hi Dess
I already implement a fully customized treeview, implementing the CustomTreeView, CustomTreeViewElement, CustomTreeNodeElement, CustomContentElement, CustomDragDropService, CustomTreeViewCancelEventArgs, etc.
Adding
Protected Overrides Sub SetHintWindowPosition(ByVal mousePt As Point)End Subto the CustomDragDropService resolved the issue.
thank you
I have logged it in our feedback portal by making this thread public. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.
I have also updated your Telerik points.
Currently, the possible solution that I can suggest is to create a custom TreeViewDragDropService as follows:
Class CustomDragDropServiceInherits TreeViewDragDropService Public Sub New(ByVal owner As RadTreeViewElement) MyBase.New(owner) End Sub Protected Overrides Sub SetHintWindowPosition(ByVal mousePt As Point) End SubEnd ClassClass CustomTreeViewElementInherits RadTreeViewElement Protected Overrides ReadOnly Property ThemeEffectiveType As Type Get Return GetType(RadTreeViewElement) End Get End Property Protected Overrides Function CreateDragDropService() As TreeViewDragDropService Return New CustomDragDropService(Me) End FunctionEnd ClassClass CustomTreeViewInherits RadTreeView Protected Overrides Function CreateTreeViewElement() As RadTreeViewElement Return New CustomTreeViewElement() End Function Public Overrides Property ThemeClassName As String Get Return GetType(RadTreeView).FullName End Get Set(value As String) MyBase.ThemeClassName = value End Set End PropertyEnd Class
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Hi
It seems that you are moving your mouse cursor to the edge of the tree and then that causes the up and down scroll, which is working as expected.
The issue is while having a node "grabbed" also simultaneous, while holding down the mouse button, scrolling the mouse wheel so that the tree navigates up and down.
This used to work, but stopped after telerik version upgrade.
Note that I would appreciate it if a remote session could be scheduled so that this can be seen and investigated
Thank you
Theo