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

HtmlTextbox - issue with padding

1 Answer 184 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gene
Top achievements
Rank 1
Gene asked on 14 Mar 2012, 07:01 PM
I'm developing a report that includes an HtmlTextbox.  However, while the formatted Html looks fine in the RadRichTextbox where it is being edited, it ends up with each span having its last several characters cut off.  This is an example of Html that produces the issue:
<p style="margin: 0px 0px 0px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px;"><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: normal;font-size: 12px;color: #E57572;">%%CALLDATE%% - %%CALLTIME%%12345123451234512345</span><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: normal;font-size: 12px;color: #000000;"><br /></span><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: normal;font-size: 12px;color: #000000;"> this is a testdsafsdf</span></p><p style="margin: 0px 0px 0px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px;"><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: normal;font-size: 12px;color: #000000;">sent on </span><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: bold;font-size: 12px;color: #000000;">%%LETTERDATE%%</span></p><p style="margin: 0px 0px 0px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px;"><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: bold;font-size: 12px;color: #000000;"> </span></p><p style="margin: 0px 0px 0px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px;"><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: normal;font-size: 12px;color: #E57572;">12345123451234512345</span><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: normal;font-size: 12px;color: #000000;"><br /></span><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: normal;font-size: 12px;color: #E57572;">12345123451234512345</span><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: normal;font-size: 12px;color: #000000;"><br /></span><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: normal;font-size: 12px;color: #E57572;">12345123451234512345123451234512345123451234512345123451234512345123451234512345</span><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: normal;font-size: 12px;color: #000000;"><br /><br /><br /></span><span style="font-family: 'Segoe UI';font-style: Normal;font-weight: bold;font-size: 12px;color: #000000;" /></p>

in the HtmlTextbox, this has every single span cut off at the right.  The same happens to the printout if I print directly from the ReportViewer control.  However, if I export the Html to PDF, the mysterious padding goes away!  It would be greatly appreciated if you could shed some light on this mystery.

1 Answer, 1 is accepted

Sort by
0
IvanY
Telerik team
answered on 19 Mar 2012, 04:42 PM
Hello Gene,

We were unable to reproduce the issue at our end, using the version specified and the proposed HTML. Additionally it is not clear from your explanations what viewer you are using. In order to advise you accordingly we will need this additional information. It will be best if you could send us a runnable sample that exhibits the problem. 

Greetings,
IvanY
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
Tags
General Discussions
Asked by
Gene
Top achievements
Rank 1
Answers by
IvanY
Telerik team
Share this question
or