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

TreeView node text - multiple lines

2 Answers 251 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Magnus Ostberg
Top achievements
Rank 1
Magnus Ostberg asked on 20 Jan 2011, 12:02 PM
I have a treeview where the text on some nodes are relatively long. As it is now all text is shown on one line, which expands the whole page horizontally making scrollbars appear. Is there any way to make the node text automatically break into multiple lines?

So instead of:

blah blah blah blah blah blah

The node text will be:

blah blah blah blah
blah blah

(if the text is too long)

2 Answers, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 20 Jan 2011, 01:44 PM
Hi Magnus,

You could check this article here , which give information how to wrap the text of the tree nodes.


All the best,
Dimitar Terziev
the Telerik team
Browse the vast support resources we have to jump start 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.
0
Magnus Ostberg
Top achievements
Rank 1
answered on 20 Jan 2011, 02:06 PM
Works fine, thanks.
Tags
TreeView
Asked by
Magnus Ostberg
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Magnus Ostberg
Top achievements
Rank 1
Share this question
or