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

HTMLTextbox Problem with free spaces after Paragraphs

3 Answers 358 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 13 Aug 2015, 12:41 PM
Hello,

I have a problem with the HtmlTextBox in the Report Designer .

The following value I entered in the Edit Expression window in HTML View :

<p style="margin: 0px">Hello,... here is the first row<br />Hello,... <span style="color: #800080">here is</span> the <strong>second </strong>row<br />Hello,... here is the last r<span style="text-decoration: underline">ow</span></p><p style="margin: 0px">dvwerfvewrv</p>

In Design View in the Edit Expression window is the Content correct. No free spaces after paragraphs.

In the report designer clearances are displayed after each paragraph .

In all of the controls that I have tested , begin any new rows with the < P > < / P > and not with <br /> . Us as a software manufacturer would be helped if between the paragraphs in the report is not in the blanks would be seen . Currently you can in style margin : 0px; define , but has no effect. How can we be helped ? All other tags work clean , only the margin between the paragraphs not .

3 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 13 Aug 2015, 03:18 PM
Hello Michael,

The margin CSS attribute is not supported in the HtmlTextBox report item. For a list of the supported CSS attributes, please check the HtmlTextBox help article.

For example, you can apply negative padding to the paragraphs to remove the blank space:
<p style="padding-bottom: -15px;">Hello,... here is the first row<br />Hello,... <span style="color: #800080">here is</span> the <strong>second</strong> row<br />Hello,... here is the last r<span style="text-decoration: underline">ow</span></p>
<p>dvwerfvewrv</p>


Regards,
Nasko
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
Michael
Top achievements
Rank 1
answered on 14 Aug 2015, 06:43 AM

Hello Nasko,

thanks for your tip .

The paragraph formatting might be better than a huge advantage for our customers . That's the only thing missing in the implementation .

Would it be possible to implement for the HTMLTextbox ?
0
Nasko
Telerik team
answered on 14 Aug 2015, 06:57 AM
Hello Michael,

You can post a feature request for this in our Ideas & Feedback portal. Depending on the number of votes for the request we will raise its priority and it might get implemented in a future release of the product.

Regards,
Nasko
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
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Michael
Top achievements
Rank 1
Share this question
or