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

ReportViewer not displaying report correct

1 Answer 146 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andres
Top achievements
Rank 1
Andres asked on 30 Nov 2011, 09:03 PM
Hi,


I have a telerik reportViewer in which i´m displaying an invoice preview before the client can save or print the PDF file, this invoice report contains a textbox in wich I display a very long encrypted string with no spaces in it, the problem comes when the reportviewer renders the report, this textbox grows horizontally and messes up the whole report, is like it´s not respecting the margins.


It´s weird because when I save or print the file, it displays just fine.


I´m attaching both: reportOnViewer and reportAfterSave

1 Answer, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 02 Dec 2011, 04:30 PM
Hello Andres,

By design the HTML Rendering doesn't split words. In case of character sequences (words) longer than it's container, the container (textbox) will grow to fit the long character sequences. In order to split such character sequences our suggestion is to insert white spaces.

Kind regards,
Peter
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!

Tags
General Discussions
Asked by
Andres
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or