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

html text box not reading breaklines correctly

2 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
JM
Top achievements
Rank 1
JM asked on 01 Feb 2016, 08:23 PM

I have been trying to use breaklines in the HTML Textbox in telerik reports (using Q1 2015 sp1 Telerik version) but 
is not being rendered as a breakline. As you can see in the first attachment (testReport_backend.PNG), I've tried \r\n, \n, replacing < with < and > with &rt; in both textbox and HTML Textbox but in the second attachment (testReport.PNG) the html tags are not being rendered like HTML tags.
What am I missing to make this work?

 

2 Answers, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 02 Feb 2016, 04:42 PM
Hi JM,

Make sure that you use the expression within HtmlTextBox item and the. Also please check if you put your expression with in Html view of the Edit expression dialog, not the Design view.

Let us know if you need any further clarifications.

Regards,
Katia
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
JM
Top achievements
Rank 1
answered on 02 Feb 2016, 07:38 PM

Got it thank you so much!

Tags
General Discussions
Asked by
JM
Top achievements
Rank 1
Answers by
Katia
Telerik team
JM
Top achievements
Rank 1
Share this question
or