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