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

Node - max width

3 Answers 121 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
wnl
Top achievements
Rank 1
wnl asked on 30 Nov 2010, 10:02 AM
Hi,
Is any property in TreeView to set max width of node?
In my application some nodes are too long:
http://img232.imageshack.us/img232/5127/telerik.png
How to fix this?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Nov 2010, 11:14 AM
Hi,


The text of the tree Nodes can be easily wrapped when needed. The following link explains more on this.
Wrap TreeNode's text



-Shinu.
0
wnl
Top achievements
Rank 1
answered on 30 Nov 2010, 11:25 AM
Ok, but how to apply to the whole TreeView? There is no example.
0
Dimitar Terziev
Telerik team
answered on 02 Dec 2010, 03:38 PM
Hello Jaromin Sycz,

You could add this style in the TreeView opening Tag and it will be applied to all of the tabs
Style="white-space: normal"


Best wishes,
Dimitar Terziev
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
TreeView
Asked by
wnl
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
wnl
Top achievements
Rank 1
Dimitar Terziev
Telerik team
Share this question
or