We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeView SubNode Multiline ASP:net

Thread ID:





102627 Feb 15,2012 06:30 PM UTC Feb 20,2012 07:25 AM UTC General Discussion 3
Tags: General Discussion
Asked On February 15, 2012 06:30 PM UTC


When i expand a subnode if the size of the text is bigger than a value i need show in two lines or more is this posible?


Meena [Syncfusion]
Replied On February 16, 2012 11:23 AM UTC

Hi Ruben,

Thanks for using Syncfusion products.

Your requirement of displaying the child nodes of treeview in two or more lines could be achieved by setting the “white-space” css property as normal for the corresponding css class. Please refer the below code snippet,

.tvView .tvTextCont
font-size: 17px !important;
white-space : normal !important;


In the above coding we have set the font size of child nodes to larger, white-space property is used to break the line and displays the text in two lines.

We have also created a simple sample with this and it can be downloaded from the below link.


Please let us know if you have any other concerns.


Replied On February 17, 2012 12:35 PM UTC

Thanks, it´s perfect.

Meena [Syncfusion]
Replied On February 20, 2012 07:25 AM UTC

Hi Ruben

Thanks for the update.

We are glad to know that your requirement has been met. Please let us know if you have any other concerns.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon