Table cell new line character

1 Answer 27 Views
Report Designer - Web Table
Glenn
Top achievements
Rank 1
Iron
Iron
Glenn asked on 07 Jan 2026, 08:00 PM
I have the following inside of a table cell:

= "From: " + IsNull(Fields.OriginalLocation, '')
+ "\r\n"
+ "To: " + IsNull(Fields.NewLocation, '')
+ "\r\n"
+ "By: " + IsNull(Fields.Person, '')
+ "\r\n"
+ "On: " + IsNull(Fields.Date, '')

This does not work inside of the web report designer's "Value" field for the table cell. I have tried other methods as well. How can I ensure that there is a new line character between each of these?

1 Answer, 1 is accepted

Sort by
0
Ivet
Telerik team
answered on 12 Jan 2026, 03:15 PM

Hello Glenn,

Thank you for reaching out.

In the Web Report Designer, adding new lines in a table cell by using \r\n or Environment.NewLine in the Value expression will not work as these characters are not parsed as line breaks in expressions.

What you can do instead of using \r\n is to insert a new line inside the quotes, rather than escaping it. You can see exactly what I mean in the example below:

= "From: " + IsNull(Fields.OriginalLocation, '') + "
" +
 "To: " + IsNull(Fields.NewLocation, '')+ "
" +
 "By: " + IsNull(Fields.Person, '')+ "
" +
 "On: " + IsNull(Fields.Date, '')

Please give it a try and let me know if you have any questions.

Regards,
Ivet
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Report Designer - Web Table
Asked by
Glenn
Top achievements
Rank 1
Iron
Iron
Answers by
Ivet
Telerik team
Share this question
or