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

MVC treeview scrolling issue

4 Answers 162 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Eugene
Top achievements
Rank 1
Eugene asked on 19 Apr 2010, 11:13 PM
Greetings to All,
    When enough items are added to a treeview, the last item is displayed partially, i.e., the bottom portion is cut off.  Is this a problem with the control, or can the scrolling and height be controlled to prevent this problem from occuring?  A possibly related issue is that radwindows are displaying scroll bars when they are not necessary.

Respectively,
Eugene

    

4 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 20 Apr 2010, 09:21 AM
Hello Eugene,

Is the scroll on the treeview or on the window? There shouldn't be such a problem - if you send a sample project, we'll fix this for you.

Regards,
Alex Gyoshev
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.
0
Eugene
Top achievements
Rank 1
answered on 20 Apr 2010, 06:12 PM
Hello Alex,
    OK.  After looking at one of telerik's sample treeview apps, it appears that using HtmlAttributes with a height style of auto corrects the problem of scrolling.  Now, does the treeview control support wrapping of text instead of having to use a horizontal scroll bar at the bottom of the tree, which seems awkward?

Best Regards,
Eugene
0
Alex Gyoshev
Telerik team
answered on 21 Apr 2010, 11:48 AM
Hello Eugene,

Text wrapping is not supported in the TreeView for ASP.NET MVC, because it is more awkward than horizontal scrollbars and causes many issues when there is not enough space for the data. Of course, you can completely hide the horizontal scrollbars using overflow-x: hidden.

Kind regards,
Alex Gyoshev
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.
0
Hemant
Top achievements
Rank 1
answered on 29 Jun 2010, 10:16 AM
Hi,

I am having issue with tree view scrolling.  If Node name length is large and there is horizontal scroll .
But due to scroll bar I am not able to see the whole string I have to use scroll to view that node.
I want to set scroll so that I don't need to scroll .

Please help me.
Thanks,
Tags
TreeView
Asked by
Eugene
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Eugene
Top achievements
Rank 1
Hemant
Top achievements
Rank 1
Share this question
or