7 Answers, 1 is accepted
It is not possible to turn off paging out of the box. However you can show all pages of the report in the web ReportViewer by setting PageKind=Custom and a big number for PageSize, which you're sure would be enough to show all pages on a single one.
The limitation of this approach is that even when you export in any format, all pages would be still shown in this single huge page. What you can do to avoid this is hide the built-in Toolbar of the ReportViewer, prepare your own UI for the export formats and export the report through code. This way you can change the PageSize before the export.
Best wishes,
Steve
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Where would I find PageKind and PageSize settings? I don't see them in the report viewer's properties.
Thanks,
-GEzim
The PaperKind and PaperSize Properties are part of the PageSettings available in the property grid of the report.
All the best,
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 >
However, I was looking for a way to disable paging altogether and have the report pages (if there are more than 1) show up all together without the need to page. PaperKind and PaperSize do not give me that, reliably.
This scenario is a bit off the typical usage of the Reporting tool and this is the reason we haven't created means of handling such cases.
Changing the paper size is the only option that could get you somewhere close to the layout you want.
In Q3 2011 we introduced the Interactive Layout - while in this mode (by default), even if the paper is bigger than the report, it won't be drawn (there won't be empty space after the report's end) and at the same time the report will be in one page.
Kind regards,
Elian
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 >
"In Q3 2011 we introduced the Interactive Layout - while in this mode (by default), even if the paper is bigger than the report, it won't be drawn (there won't be empty space after the report's end) and at the same time the report will be in one page."
Hi Elian,
This would solve my problem except that the width doesn't work as you described. It's still renders the width you specify even in interactive mode. See screenshot I attached.
this
.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Custom;
Telerik.Reporting.Drawing.SizeU size =
new
Telerik.Reporting.Drawing.SizeU(
new
System.Drawing.Size(1000000, 1000000));
this
.PageSettings.PaperSize = size;
Which view mode of the viewer is used when the screenshot is taken? Normally in Interactive Layout, the horizontal scrollbar should not appear. However if it is only for viewing purposes, you do not need to set the page width to a big number, since in Interactive Layout horizontal paging does not occur.
Greetings,
Elian
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 >