RadTreeView going crazy

18 posts, 0 answers
  1. Lauren Nickerson
    Lauren Nickerson avatar
    52 posts
    Member since:
    Jul 2009

    Posted 07 Apr 2010 Link to this post

    I'm not sure how to make this happen, but the treeview starts going up and down like crazy.


    (Scroll to the right, the treeview is docked on the right side of the window)

    Have you ever seen this before? How can we solve it?

    Thanks!
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 12 Apr 2010 Link to this post

    Hi Lauren Nickerson,

    We have seen this once before, but unfortunately we weren't able to reproduce it on our side.

    Therefore, we will highly appreciate any additional information that you can give us about your scenario and the steps that led to the described behavior.

    Also, could you please open a support ticket and attach a sample project reproducing the issue. This way we will be better able to tackle the issue.

    Thank you in advance.

    All the best,
    Tina Stancheva
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Lauren Nickerson
    Lauren Nickerson avatar
    52 posts
    Member since:
    Jul 2009

    Posted 04 Oct 2010 Link to this post

    Hello, I'm wondering if there's a property or a work around to avoid the RadTreeView trying to auto scroll it's horizontal scroll bar. May this would solve the problem, because we have the theory that the tree view is trying to show what's on the right edge, then it tries to show the left edge, so it just keeps going from left to right continuously.

    Let me know if there's a way to turn that feature off.

    EDIT:

    This is the feature I'm talking about:

    http://www.screencast.com/users/CarloToribio/folders/Jing/media/e4949171-6f54-4a3c-b138-2551bb58cd7d

    How the tree moves to the right when I select the item with the long text.

    Thank you.
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 07 Oct 2010 Link to this post

    Hi Lauren Nickerson,

    You can set the RadTreeView ScrollViewer.HorizontalScrollBarVisibility property to "Disabled". Does that work for you?

    Regards,
    Tina Stancheva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Lauren Nickerson
    Lauren Nickerson avatar
    52 posts
    Member since:
    Jul 2009

    Posted 14 Oct 2010 Link to this post

    Hi. Thanks for the suggestion, but it doesn't. We do need the horizontal scroll bar, because there are times when the treeview grows wider than its container. What we don't want is the scroll bar moving on its own when a user clicks on the treeview. But we need the scrollbar to be visible so the user can do it manually if needed.

    Thanks.
  7. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 18 Oct 2010 Link to this post

    Hi Lauren Nickerson,

    In that case, can you try disabling the Horizontal/Vertical ScrollBarVisibility of the RadTreeView.ScrollViewer and wrapping the RadTreeView in a ScrollViewer control. This way you can workaround the behaviour of the default RadTreeView ScrollViewer:
    <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Width="200">
        <telerik:RadTreeView x:Name="radTreeView" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                        ScrollViewer.VerticalScrollBarVisibility="Disabled">
            <telerik:RadTreeView.ItemTemplate>
                <HierarchicalDataTemplate ItemsSource="{Binding Children}">
                    <TextBlock Text="{Binding Header}" />
                </HierarchicalDataTemplate>
                    </telerik:RadTreeView.ItemTemplate>
        </telerik:RadTreeView>
    </ScrollViewer>

    Give it a try and let us know if it works for you. Also, if you can isolate the issue in a sample project, we will highly appreciate it. This way we will be able to investigate the cause for this behaviour.

    Regards,
    Tina Stancheva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Lauren Nickerson
    Lauren Nickerson avatar
    52 posts
    Member since:
    Jul 2009

    Posted 18 Oct 2010 Link to this post

    It works. Two really major backdrafts though:

    1) The mouse wheel doesn't work for scrolling
    2) (The really bad one) When using the arrow keys, the scroll viewer doesn't move

    http://www.screencast.com/users/CarloToribio/folders/Jing/media/11093214-9b35-4612-a892-81362ac29857

    Please let me know if that can be fixed. Thanks.
  9. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 21 Oct 2010 Link to this post

    Hello Lauren Nickerson,

    The RadTreeView control is designed to work with its default embedded ScrollViewer out-of-the-box, and implementing the scrolling logic to an outer ScrollViewer is a difficult task. Therefore, I wanted to ask you if you can check this issue in our PITS and tell me if this is the same issue that you are facing.

    If it isn't, or if your scenario is more complicated, can you please elaborate on it. I am asking you for details, because it would be best if we can reproduce the issue so that we can fix it instead of looking for more complicated workarounds.

    Thank you in advance.

    Kind regards,
    Tina Stancheva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  10. Lauren Nickerson
    Lauren Nickerson avatar
    52 posts
    Member since:
    Jul 2009

    Posted 25 Oct 2010 Link to this post

    It's not the same problem. Unfortunately I don't have any details for mine as we don't know how to reproduce it, we've just seen it on some sporadic occasions. Basically, the tree starts going left and right when the text in the RadTreeViewItems are too long, we assumed this is because of the horizontal auto-scroll feature, so we were wondering how difficult it was to turn that feature off and see if the problem stopped appearing. But it does look like it's not easy to do that. May I request that 'Turn auto-scroll off' feature for future releases?

    Thanks.
  11. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 27 Oct 2010 Link to this post

    Hello Lauren,

    Thank you for the feature request. I've added it in out public issue tracking system under the name "TreeView: Ability to turn auto-scroll on/off". The item will be available for tracking and voting tomorrow the latest. We will start working on it after our official 2010 Q3 release, which is scheduled for the middle of November. Let me know if I can be of further assistance.

    Greetings,
    Kiril Stanoev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  12. Dinesh
    Dinesh avatar
    4 posts
    Member since:
    Oct 2011

    Posted 29 Jan 2013 Link to this post

    Hi Kril,

    Is TreeView: Ability to turn auto-scroll on/off issue resolved ? Is this same for Silverlight ?

    Please let me know as i was not able to track this issue in your PIT system.

    Thanks,
    Dinesh Patel
  13. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 31 Jan 2013 Link to this post

    Hello Dinesh,

    This feature was logged for both WPF and Silverlight and you can track its progress from here. Unfortunately at this point the demand for the feature isn't large and this is why we can't move it up in our to-do list.

    But I hope this isn't a showstopper for you.

    All the best,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  14. Christian
    Christian avatar
    52 posts
    Member since:
    Apr 2011

    Posted 23 May 2013 Link to this post

    Hi,
    do you have any example how to do this with DragDropManager?

    Here is the old way:
    http://blogs.telerik.com/blogs/posts/10-11-25/how-to-implement-autoscroll-while-dragging-in-radtreeview.aspx

  15. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 24 May 2013 Link to this post

    Hi Christian,

    If you need to implement AutoScrolling in the RadTreeView control using DragDropManager, then I'm happy to tell you that you can do so out-of-the-box. During this release cycle we implemented the built-in RadTreeView DragDrop logic using the DragDropManager. This changes are available within our latest internal build but please note that they will be officially release with Q2 2013 release coming up in a few weeks.

    In the meantime I attached a sample solution demonstrating how to take advantage of the new DragDrop logic of the RadTreeView.  It is important to note that it will only be triggered when you set the TreeViewSettings.DragDropExecutionMode attached property to New in the RadTreeView definition.

    Regards,
    Tina Stancheva
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  16. Christian
    Christian avatar
    52 posts
    Member since:
    Apr 2011

    Posted 27 May 2013 Link to this post

    Thank you, but there is no solution with the current release 2013 Q1?
  17. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 29 May 2013 Link to this post

    Hello Christian,

    In the 2013 Q1 release, the RadTreeView DragDrop logic still uses the RadDragAndDropManager. And in case you need to use the DragDropManager with that release, you'll have to create custom drag/drop logic and your custom auto-scrolling behavior. Unfortunately we don't have any samples for such a behavior.

    Therefore I'd highly recommend waiting for our next release that is just around the corner, as with it you'll be able to use the new RadTreeView DragDrop logic out-of-the-box.

    Regards,
    Tina Stancheva
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  18. Rakesh
    Rakesh avatar
    3 posts
    Member since:
    Jul 2013

    Posted 29 Aug 2014 Link to this post

    Hi, We are using Telerik WPF version 2012.2.912.40 . we are facing similar issue with horizontal auto scrolling. Initial data load of the RadTreeView, goes crazy and occupies UI thread, nothing but freezes application. Do we have any solution to this issue other than enclosing in Scrollviewer.

    Thanks
    Rakesh
  19. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 01 Sep 2014 Link to this post

    Hello Rakesh,

    Since this is an old thread we encourage you to open a new support ticket with more information about your scenario. We also encourage you to upgrade to the latest telerik version if possible, this way you will take advantage from the latest features and bug fixes for our controls.

    Regards,
    Petar Mladenov
    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
UI for WPF is Visual Studio 2017 Ready