Like the report has 3 pages, how do I make it so that it will just be previewed on one long page?
And how can I pass the pagecount from the report to another form?
3 Answers, 1 is accepted
0
Steve
Telerik team
answered on 12 Nov 2008, 12:49 PM
Hi Albert,
You can fit a few pages into a single one by enlarging the height of the page. You can do this from the PageSettings --> PaperKind --> Custom and PageSettings --> PaperSize --> Height.
As for the PageCount and PageNumber objects, they are accessible only in the processing stages of the report and thus cannot be accessed through an external form. More info on the page sections and events of the report are available in these help articles:
But that I need a dynamic way of adjusting the height. So is there any way for adjusting the height on processing stage based on the pagecount?
0
Steve
Telerik team
answered on 13 Nov 2008, 04:36 PM
Hello Albert,
The PageSize is set up declaratively, because basically it is the pointer to the physical media which is the paper you're going to print the report to. It is assumed that you would know that and would consider it when preparing your report layout.
Greetings,
Steve
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.