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

Textbox partially hides text

5 Answers 146 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 28 Oct 2013, 07:29 PM
Hello. I have a textbox that is partially hiding some text before it wraps to the next line. The issue is very similar to this one: http://www.telerik.com/community/forums/reporting/telerik-reporting/issue-with-text-wrapping-in-textbox.aspx. I have tried all of the suggestions made in that thread with no luck.

I have the Reporting Q2 2013 version installed.

I've made the textbox display all of the text successfully by making the textbox extend past the 10.5in width but that messed up the printed version.

I've attached a screenshot of the problem. Notice how the right side is missing its text. That text IS THERE; I can highlight the text then copy/paste into Notepad++ and see all of the text.... just not in the report.

Can someone please help me figure this out? What other information would be helpful to you all?

One more thing, this is in a sub report. The main report and the subreport both have widths of 10.5in ( I've verified that ). 

5 Answers, 1 is accepted

Sort by
0
Andrew
Top achievements
Rank 1
answered on 29 Oct 2013, 12:29 PM
I forgot to mention that this is a web application and I'm using IE9. I am going to test other browsers today to see if it might be the browser.

Edit: I have tested this in IE 7,8, 9 and the latest version of Chrome. The same exact behavior exists in all of the browsers.
0
Andrew
Top achievements
Rank 1
answered on 29 Oct 2013, 01:33 PM
I just discovered some more information that might prove useful here. I noticed that there was a call to change the font family and size to Verdana/8pt ( this is code that I didn't' write but have walked in to ). If I eliminate the call that changes the font, the text is no longer hidden and all is well with the universe.

Is this a bug or is there still something that is missing after changing the font?

Also, Style.Padding.Right makes no difference either by the way. I can change it to anything from 0 to 20 pt and the text is hidden still. 
0
Stef
Telerik team
answered on 30 Oct 2013, 12:48 PM
Hello Andrew,

Thank you for the effort to include all details and describe the problem. There is a known issue already logged into our system, and related to a problem similar to the illustrated in your first screenshot. Until there is a fix, changing the font size resolves the issue.

However, in your last post you mentioned a call to a custom method causing the font to be changed to Verdana/8pt which may affect the HTML rendering. In order to verify if the problems are related, please open a support ticket and send us a sample project illustrating your settings.

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

0
Stef
Telerik team
answered on 05 Nov 2013, 05:54 PM
Hi Andrew,

The reason for the clipped text is in the differences in the way different browsers layout engines interpret fonts and their sizes. Please test if setting the item's Style.Padding.Right or switching the font resolves the problem at your side.

If you need further help, please open a support ticket and send us your report definition for further tests.

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Andrew
Top achievements
Rank 1
answered on 05 Nov 2013, 05:57 PM
I tried that setting. I also tried other browsers. I ended up simply not using that font. It works well-enough.

Thanks!
Tags
General Discussions
Asked by
Andrew
Top achievements
Rank 1
Answers by
Andrew
Top achievements
Rank 1
Stef
Telerik team
Share this question
or