When I create an HtmlTextBox on a report and set the CanGrow property to true, it will output the following HTML/CSS in the web viewer:
.s
6
{
font-family
:Segoe UI;
font-size
:
11px
;
color
:Black;word-wrap:
normal
;
white-space
:
nowrap
;
padding-left
:
0px
;
padding-right
:
1px
;
padding-top
:
0px
;
padding-bottom
:
-2px
}
<
div
title
=
""
class
=
"commsHtmlBox s6"
style
=
"position:absolute;overflow:hidden;left:634px;top:69px;width:363px;height:77px;"
>
<
div
class
=
"html-root"
style
=
"margin-top:0px;"
>
<
p
class
=
"s1"
>content</
p
>
</
div
>
</
div
>
When the white-space attribute is set to "nowrap" longer lines in the HtmlTextBox are cut off and do not display properly. When I remove the white-space attribute using Chrome's developer tools, the content displays correctly. Since this CSS is coming from an .axd request and is generated from the web viewer's iframe, I cannot override this value. Is there a workaround for this?
9 Answers, 1 is accepted
Please test our latest internal build for Telerik Reporting Q1 2013 where we have fixed an issue with HtmlTextBox item rendering. If the issue with the text cut off still persists try adding <br/> tags at the end of the item content, this will assure additional space in the item.
I hope this helps.
Regards,
Stef
the Telerik team
Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

I finally got around to installing the latest build (7.0.13.426). The problem still persists. And I'm sorry, I should have been more specific. The text is cut-off horizontally, not vertically.
Me.HtmlTextBox1.Value = "<span style=""word-wrap: break-word;"">{Replace(Fields.descr_corr_action_descr, ""&""" &
", ""&"")}</span>"
' pls provide solution htmltextbox text is cut off
The CanGrow property allows the item to grow vertically, not horizontally. You can find attached a sample report, created with Telerik Reporting Q1 2013 SP1, where the HtmlTextBox property CanGrow property is set to True and the content of the item is properly split in lines.
If we have misunderstood your issue, post the code of your report definition and some data reproducing the problem or even better open a support ticket and send us a whole runnable sample project.
Greetings,
Stef
the Telerik team
Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

This is a know issue, which we have verified and logged into our system for improvement. We will provide a fix in a subsequent Telerik Reporting release.
Regards,
Stef
Telerik
Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

The issue is related to how different browser layout engines interpret the same content. Thus you need to select a font with proper style and test the rendered output in the browsers listed in your requirements. To adjust the content you can test different fonts and the item's Style.Padding properties.
Regards,
Stef
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

The issue in your case was caused by a docked TextBox/HtmlTextBox item that resizes depending on the container in such case, where the container was split due to horizontal paging.
If you need further help, please let us continue the discussion in your support ticket on the same question.
Regards,
Stef
Telerik
Me.HtmlTextBox1.Value = "<span style=""word-wrap: break-word;"">{Replace(Fields.descr_corr_action_descr, ""&""" &
", ""&"")}</span>"
'
this is my code pls provide solution htmltextbox text is cut off
Hello Sunkam,
I noticed that you have made a new forum thread regarding this issue. Since there was more information provided in there, I decided to continue the discussion regarding your problem in that thread, please check my reply - HTMLTEXTBOX CUTOFF CONTENT.