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
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: