RadTreeList AutoScroll not working during Drag and Drop of an Item

2 posts, 0 answers
  1. Narender
    Narender avatar
    2 posts
    Member since:
    Aug 2013

    Posted 09 Jan 2014 Link to this post

    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

  2. Venelin
    Admin
    Venelin avatar
    352 posts

    Posted 14 Jan 2014 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top