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

Different Number of Pages in Reportviewer and Print Preview

4 Answers 227 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
sonia
Top achievements
Rank 1
sonia asked on 28 May 2012, 07:36 AM
Hi,
I am working on telerik reporting. Everything is working fine except one. Reportviewer has different number of pages in display mode and in Print preview mode. If reportviewer is showing 4 pages then in print preview there will be 7 pages. I want the equal page count in every case. Please let me know what to do for this? Is there any property in the reportviewer that need to be modified or anything else?

Regards,
Sonia Shahid

4 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 28 May 2012, 08:51 AM
Hello Sonia,

This behavior is by design as the viewers support two views - Interactive and Print Preview, for more info refer to Interactive vs. Print Layout help article. The Interactive layout is the default report layout which users see. You can control the default layout via the ViewMode property of the respective report viewer.

Greetings,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
y2kdis
Top achievements
Rank 1
answered on 02 Apr 2013, 09:07 PM

Same thing is happening on my end. What I don't understand is you get report designer window and you would think that its dimension will be the dimension of your report so you start positioning and laying out your items. Then you switch back and forth between the designer tab and the preview tab to make sure everything is rendering correctly. But when you switch to the 'print preview' mode, everything is whacked - alignment issues, images splitting to more than one page, etc. The worse part is when you waste more time by going back to the designer window thinking that you can resolve the issue by repositioning and resizing the items, but the crap stays the same.

I hate to say this but Telerik Reporting is the lousiest reporting tool I have come across with bar none. It's also probably the most challenging except when you are out there still carving your report on a stone. Report creation on MS Access 97 makes more sense and more intuitive than on this piece of junk.
0
Elian
Telerik team
answered on 05 Apr 2013, 01:19 PM
Hi Sidky,

As explained below this behavior is by design as the viewers support two views - Interactive and Print Preview. For more information please refer to Interactive vs. Print Layout help article.

In brief:

The Interactive View is a logical layout that removes the strict restrictions for report pagination on the client by utilizing a simpler paging algorithm, which allows it to render reports faster. The paging mechanism of the Interactive View is based on soft page breaks, where the report is optimized for screen-based viewing and delivery.

On the other hand the paging in Print Preview layout is calculated based on the physical size of the page. This view utilizes the same paging algorithm as when printing the report on a printer, exporting in PDF or MS Word (both use physical page setup as well). In this case you are always limited to the size of the paper (the physical page) and it ensures that all report items are laid out in the best possible way. For additional information how the reports are rendered in the supported formats please see Design Considerations for Report Rendering.


Greetings,
Elian
the Telerik team

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

0
Bill
Top achievements
Rank 1
answered on 23 Nov 2016, 06:28 PM

I know this is a long time since this issue was discussed but after reading this I changed the ViewMode to Print Preview on 22 reports. The results were just fine.  Some of the reports have complex layouts, like a complicated invoice that must comply with state requirements for a particular industry.  But still, everything was fine.

I understand the reason for making the default mode = Interactive, for performance.  But it was no problem to change all the ViewModes to Print Preview.  Thanks for the solution.

 

 

Tags
General Discussions
Asked by
sonia
Top achievements
Rank 1
Answers by
Steve
Telerik team
y2kdis
Top achievements
Rank 1
Elian
Telerik team
Bill
Top achievements
Rank 1
Share this question
or