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

Web viewer not rendering the full A4 Page

5 Answers 280 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Derek Boseley
Top achievements
Rank 2
Derek Boseley asked on 22 Nov 2010, 10:58 AM

Hi I am using the report viewer for the web and have noticed that the reports, when viewed on the web (using the viewer control) are not rendering the full report in portrait. It appears to be trimming off the bottom third of the report and bleeding it over to the next pages.

So… on the viewer the page looks like it is shorter than it is, but when I print or export it, the report prints as I would expect. Also on the viewer it shows 5 pages but when printed it prints 2 (this is due to the viewer trimming the bottom of the reports off)

If this a bug or just something I have not enabled

See screen shot for example.

Thanks
Derb

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 25 Nov 2010, 03:58 PM
Hello Derek,

The printed report is internally exported to PDF which is page oriented format and it is normal for the report to be paged. The output of a report rendered in different formats differs because medias are quite different. For example HTML/Excel is dedicated to displaying information on screen and the page is infinite by width and height; in contrast PDF supports physical pages and is meant not only for reading on screen but for printing.

According to whether the format supports physical pages, we separate the export formats on two groups: page-oriented (PDF, Image (print preview), print, XPS, RTF) and non-page oriented (HTML/MHTML, Excel, CSV).

For the page-oriented formats the content layout is on horizontal and vertical pages according the the page settings of the report, while for the rest of the formats take into considerations other characteristics of the media. More info is available in the Design Considerations for Report Rendering help section.

Regards,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
0
Derek Boseley
Top achievements
Rank 2
answered on 02 Dec 2010, 11:07 AM

How do I make the web preview show an A4 page?

I have configured the report to be A4 with all of the correct dimensions ect and have made the HTML viewer the correct ratio for an A4 page but I am still getting the exact same problem. The render of the screen looks massively different to when it is printed. This is not good when we are writing websites for clients who expect to have what they see on the screen represent what they get on the printer.

0
Steve
Telerik team
answered on 03 Dec 2010, 06:20 PM
Hello Derek,

This is not possible with the web report viewer due to the reasons explained in our previous post. A possible solution for your request would be to use the Silverlight Report Viewer instead, which uses the new XPS format for rendering i.e. it is page oriented. You can test exporting to XPS to see if the report looks like you expect it to.

All the best,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
0
Adit
Top achievements
Rank 1
answered on 08 May 2015, 07:04 PM
Design Consideration For Report link is not working...
0
Stef
Telerik team
answered on 11 May 2015, 04:47 PM
Hi Adit,

Please check the articles in the Design Considerations for Report Rendering help section.

Regards,
Stef
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
General Discussions
Asked by
Derek Boseley
Top achievements
Rank 2
Answers by
Steve
Telerik team
Derek Boseley
Top achievements
Rank 2
Adit
Top achievements
Rank 1
Stef
Telerik team
Share this question
or