html textbox telerik reporting doesn't get whitespace

1 Answer 258 Views
.NET Framework Report Viewer - ASP.NET
Jaider
Top achievements
Rank 1
Jaider asked on 07 May 2021, 07:46 PM | edited on 07 May 2021, 08:26 PM

I want to this field textbox looks the same in the reporting(Respect the whitespaces) in a HtmlTextBox

And HtmlTextBox only show a single whitespaces

 

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 12 May 2021, 12:56 PM

Hello Jaider,

You are right that the whitespace from a regular text is reduced to a single space. If you need wider whitespaces between the words, you have to use the   (non-breaking space) extended HTML character. For example, you may replace the occurrence of two spaces with '  ' through the built-in Replace Text Function. Here is a sample Expression that worked correctly on our end:

=Replace(Fields.Value,'  ','  ')

Regards,
Todor
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Tags
.NET Framework Report Viewer - ASP.NET
Asked by
Jaider
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or