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

TextBox CanGrow does not work in HTML preview

3 Answers 86 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rick
Top achievements
Rank 1
Rick asked on 21 Dec 2011, 09:44 PM
There appears to be a bug in the HTML Preview rendering engine.

We have a report that includes a column returning a moderately long string (<120 characters).
The TextBox CanGrow property for that column is set to True.
Whether MultiLine is set to True or False, the TextBox does NOT grow vertically in HTML preview.  It does in the regular Preview.
The detail section is contained within a label group for the column headers.

When I view source, for the TextBox in question, I see class="s6" style="position:absolute;overflow:hidden;left:1px;top:248px;width:326px;height:26px;"
where class .s6 = {font-family:Tahoma;font-size:8pt;color:Black;word-wrap:break-word}

Version = 5.3.11.1116.
When I save the source and open it in Ie9 or Firefox, it appears to render correctly. 
I haven't yet tested the live-rendered report in a browser.

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 22 Dec 2011, 10:02 AM
Hi,

Is the TextBox placed in a page header/footer section by any chance? If so, there is a small problem that in certain cases causes the contents of the page sections to be cut off. This problem would be addressed in the upcoming internal build this week.
If the TextBox is not in a page section, we would appreciate if you provide us with a sample project that exhibits the problem and once we review it, we would be able to provide more info.

Kind regards,
Steve
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

0
Ricky
Top achievements
Rank 1
answered on 12 Jun 2017, 09:32 PM

Has this issue every been corrected?

I ran into a very specific case when performing some changes to a report. A textbox in the header is touching the very bottom of the header. With properties: CanGrow=true; Multiline=true; TextWrap=true; KeepTogether=true;, I added some additional lines to the textbox, this caused the textbox to appear blank. I then changed KeepTogether to false, and then part of the text showed.

I made the textbox & header slightly bigger by default, and it now accommodates the additional text fine.

I'm currently using Telerik Reporting Q1 2015 v 9.0.15.225.

0
Stef
Telerik team
answered on 14 Jun 2017, 09:36 AM
Hello Ricky,

Report sections grow to accommodate their content. The described behavior can occur in a PageHeader/FooterSection as they maintain the same size on all pages. Excessive content is clipped or missing, if it cannot be gathered in the available space - Page Header and Footer sections.

Regards,
Stef
Progress 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
Rick
Top achievements
Rank 1
Answers by
Steve
Telerik team
Ricky
Top achievements
Rank 1
Stef
Telerik team
Share this question
or