Drag drop/autoscroll issue in RadTreeView

4 posts, 0 answers
  1. Ian
    Ian avatar
    7 posts
    Member since:
    Jun 2014

    Posted 08 Jul 2014 Link to this post

    Hi there,

    I'm working on auto-scroll for the radTreeView and have come up against a slight issue.  The auto scroll works really well (referencing the blog post here: http://blogs.telerik.com/xamlteam/posts/10-11-25/how-to-implement-autoscroll-while-dragging-in-radtreeview.aspx), but I've come up against a slight issue.

    Within the RadTreeView ItemContainer, I've got a textbox.  As soon as I drag over that textbox, it loses focus so the auto-scroll can go no further.  If I disable the textboxes, then it works fine.

    Do you know of any workaround I could use to ensure that if I drag over a textbox, it will continue to scroll?

    Many thanks
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 10 Jul 2014 Link to this post

    Hi Ian,

    Could you please share with us the version of our controls that you are using? The autoscroll is built-in feature in our latest official release. Why you need to use behavior while you can use this functionality out-of-the-box?


    Regards,
    Pavel R. Pavlov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Ian
    Ian avatar
    7 posts
    Member since:
    Jun 2014

    Posted 10 Jul 2014 in reply to Pavel R. Pavlov Link to this post

    Hi Pavel - version is 2012.3.1017.40

    Is that not the latest version?  Auto-scroll certainly wasn't enabled by default which was why I was tasked with making it work - how do you activate it?

    Thanks
  5. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 14 Jul 2014 Link to this post

    Hello Ian,

    Our latest official release is Q2 2014 (2014.2.0617). This is why I will ask you to upgrade to our latest binaries and try the built-in functionality. It is turned on by default so you dont have to set any property to enable it.

    However, it is strange that you say that the auto scrolling feature is not enabled in the referenced release. This is why I tested it on our side and it seems that the code works as expected. Please take a look at this screencast to see that the feature is enabled by default in the referenced release.

    Regards,
    Pavel R. Pavlov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top