New to Telerik Reporting? Download free 30-day trial

How to preserve the wider whitespace in the HtmlTextBox elements text


Product Progress® Telerik® Reporting


The whitespace in the Html elements, for example, the paragraph <p> element of the HtmlTextBox is reduced to a single space. This article explains how you may keep the whole whitespace.

Suggested Workarounds

You may use the &nbsp; (non-breaking space) extended HTML character. For example, you may replace the occurrence of two spaces with &nbsp;&nbsp; through the built-in Replace Text Function.
Here is a sample Expression :

=Replace(Fields.Value,'  ','&nbsp;&nbsp;')
In this article