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

Move Tree Down Bug

9 Answers 164 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Dian
Top achievements
Rank 1
Dian asked on 21 Oct 2010, 11:35 PM
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  

9 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 22 Oct 2010, 09:12 AM
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
0
Dian
Top achievements
Rank 1
answered on 25 Oct 2010, 08:00 PM
Hi Richard,

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

Thanks,

Fendy
0
Richard Slade
Top achievements
Rank 2
answered on 26 Oct 2010, 08:21 AM
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
0
Dian
Top achievements
Rank 1
answered on 26 Oct 2010, 10:50 PM
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
0
Emanuel Varga
Top achievements
Rank 1
answered on 27 Oct 2010, 11:57 PM
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
0
Dian
Top achievements
Rank 1
answered on 28 Oct 2010, 02:24 AM
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
0
Emanuel Varga
Top achievements
Rank 1
answered on 28 Oct 2010, 08:51 AM
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
0
Dian
Top achievements
Rank 1
answered on 28 Oct 2010, 08:00 PM
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
0
Emanuel Varga
Top achievements
Rank 1
answered on 28 Oct 2010, 10:48 PM
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
Tags
Treeview
Asked by
Dian
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Dian
Top achievements
Rank 1
Emanuel Varga
Top achievements
Rank 1
Share this question
or