Move Tree Down Bug

10 posts, 0 answers
  1. Dian
    Dian avatar
    16 posts
    Member since:
    Oct 2010

    Posted 21 Oct 2010 Link to this post

    Hi There,

    When a horizontal scroll bar is generated in the tree view, it cover the space on the last showing node.
    My problem is when you move down the tree node by arrow down, you can not see the last node properly, because the horizontal scroll bar cover it unless you move the vertical scroll bar by mouse. 

    Thanks,

    Fendy  
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 22 Oct 2010 Link to this post

    Hi Dian,

    You need to handle the SelectedNodeChanged event and ensure the node is visible.

    Private Sub RadTreeView1_SelectedNodeChanged(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.RadTreeViewEventArgs) Handles RadTreeView1.SelectedNodeChanged
        e.Node.EnsureVisible()
    End Sub

    Hope that helps
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dian
    Dian avatar
    16 posts
    Member since:
    Oct 2010

    Posted 25 Oct 2010 Link to this post

    Hi Richard,

    It doesn't wrok. I think it is a bug in the tree view control.

    Thanks,

    Fendy
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 26 Oct 2010 Link to this post

    Hi. What version are you using? I'm on the latest 2010 Q2 914 and it works fine as described above. May I suggest upgrading to the latest version. Richard
  6. Dian
    Dian avatar
    16 posts
    Member since:
    Oct 2010

    Posted 26 Oct 2010 Link to this post

    Hi Richard,

    I used 2010_2_10_806 Version, I will try 2010 Q2 914 Version later on.

    But I dont think it will fix my problem, because I saw it doesn't mention treeview upgrade on the latest version.

    Thanks,

    Fendy
  7. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 27 Oct 2010 Link to this post

    Hello Dian,

    Can you please try something, creating a new TreeView and add the nodes to it from the property builder and see if the final node is still covered, I've tried this scenario and i cannot get the scrollbars to cover the last node, i will attach a screenshot here.

    Best Regards,
    Emanuel Varga
  8. Dian
    Dian avatar
    16 posts
    Member since:
    Oct 2010

    Posted 27 Oct 2010 Link to this post

    Hi Emanuel Varga,

    Yes, I created a new treeview and add nodes through property builder, it still has this problem.

    As my screenshot, you can see which I moved down and focused on the node 15(Last Node), but the vertical scroll bar didn't move down, unless I move the vertical scroll bar manually.  

    Hope it will fixed, after I upgard to new version.

    Thanks,

    Fendy
  9. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 28 Oct 2010 Link to this post

    Hello again,

    If you still have the same problem after doing what i suggested you will not have any problems after updating, see the screenshot from my previous post.

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga
  10. Dian
    Dian avatar
    16 posts
    Member since:
    Oct 2010

    Posted 28 Oct 2010 Link to this post

    Hi Emanuel Varga,

    I double check your screen shot, maybe you need add one more node at last, that make the vertical scroll bar can move down or up, you will see what my problem is.

    Thanks,

    Fendy
  11. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 28 Oct 2010 Link to this post

    Hello again,

    Sorry, I've added 20 more nodes, nothing changed... there is a considerable space from the last node to the horizontal scroll. Please try it with the latest version.

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga
Back to Top
UI for WinForms is Visual Studio 2017 Ready