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.
Unfortunately, activation email could not send to your email. Please try again.

How to add a break line (
or \r\n) in a TreeviewNode Text ?

Thread ID:

Created:

Updated:

Platform:

Replies:

69721 Nov 9,2007 04:39 AM Nov 12,2007 01:58 AM ASP.NET Web Forms (Classic) 5
loading
Tags: Tools
dymezac
Asked On November 9, 2007 04:39 AM

Hello,

Displaying data with a Syncfusion Treeview, I am looking for a way to go to new line in the text of a TreeviewNode.. (the node displays a description wich can be enaugh long to need a break line br or \r\n .. ?

Is it possible ?

Thank you very much


dymezac
Replied On November 9, 2007 04:41 AM

.. seems that the object of my post, doesn't do any Server.HtmlEncode.. my \< br \> has been transformed



dymezac
Replied On November 9, 2007 07:57 AM

ok.. I found a solution witj setting a look to my node. In the TextCellCSSClass property of my ItemLook, I specified a class which has a "white-space:normal" css property.

But there is then a problem : the image concerning the line doesn't display properly..

Is there a way for solution ?

(see attach file)
(I hided confidential data)


dymezac
Replied On November 9, 2007 07:58 AM

forgot to attach file.. sorry



problem.zip

dymezac
Replied On November 9, 2007 10:19 AM

ok.. I found the isTextHtml property of the node.. that's cool.

But I still have the same problem with the line images.

(ofr now, I truncate the text at the 50' caracter but if there is a solution for the line image, I take it)

Thanks



Melba Winshia [Syncfusion]
Replied On November 12, 2007 01:58 AM


Hi,

Thank you for your interest in Syncfusion Products.

I am able to reproduce the issue with line image. We suspect this issue to be a defect and we thank you for bringing this to our attention. To facilitate tracking the progress of the fix we request you to create an incident with the subject as "How to add a break line (or \r\n) in a TreeviewNode Text - 69721" in our incident database Direct Trac.

Please let me know if you have any other questions.

Thanks,
Melba



CONFIRMATION

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.

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.

;