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

RadTreeList AutoScroll not working during Drag and Drop of an Item

1 Answer 35 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Narender
Top achievements
Rank 1
Narender asked on 09 Jan 2014, 09:12 PM
Hi,

I am using drag and drop on the same RadTreeList. I removed paging on my Treelist and had
<Scrolling AllowScroll="true"/> in ClientSettings.
I am also using Ajax on it.
The Scrolling Functionality is normally working fine but It doesn't work,
When I try to drag an Item and Move it Up and Down to drop on something on the Same TreeList.
All the functionality is working fine when I don't have many items in the list,
I just need to get this scrolling thing done, If I have many items to display.
I tried many solutions online but all those seems to work with Silverlight.
Can you please help me with this? I wish I could have an event like 
AllowAutoScrollOnDragDrop which I use on RadGrid everytime.
<ClientSettings AllowAutoScrollOnDragDrop="true" >
<Scrolling AllowScroll="true" />
</ClientSettings>
Thanks in Advance, Narender

1 Answer, 1 is accepted

Sort by
0
Venelin
Telerik team
answered on 14 Jan 2014, 12:18 PM
Hello Narender,

I understand clearly your concern, however there is no built-in feature that can solve this problem. As a workaround you can subscribe to the OnItemDragging client-side event of RadTreeList and grammatically
move the scroll up/down depending on the mouse move direction.

Please try this approach and let us know if you encounter any difficulties.
 
Regards,
Venelin
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
TreeList
Asked by
Narender
Top achievements
Rank 1
Answers by
Venelin
Telerik team
Share this question
or