
Jason Gray
Top achievements
Rank 1
Jason Gray
asked on 10 Sep 2008, 05:20 PM
Is there a way to adjust the paging in the Telerik Reports. For example can I have it display 300 records, or not use paging at all.
3 Answers, 1 is accepted
0
Hi Jason,
You can do that but that defeats the purpose of the Reporting product. Our Reporting let's you specify datasource and like standard repeater creates multiple details section based on your row count. This way it handles the creation of the pages for you and makes sure a proper layout is in place.
On the contrary with the "document type" approach you want to mimic, you need one datarow and it would have to stretch a single detail section and forcibly create new pages for you, by placing n items, checking where does the previous item end and where should the new start and constantly recalculating how many items would fit on the current one.
Except the latter approach, you can also set Custom PaperKind and specify height long enough to accommodate all of your pages.
Regards,
Steve
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You can do that but that defeats the purpose of the Reporting product. Our Reporting let's you specify datasource and like standard repeater creates multiple details section based on your row count. This way it handles the creation of the pages for you and makes sure a proper layout is in place.
On the contrary with the "document type" approach you want to mimic, you need one datarow and it would have to stretch a single detail section and forcibly create new pages for you, by placing n items, checking where does the previous item end and where should the new start and constantly recalculating how many items would fit on the current one.
Except the latter approach, you can also set Custom PaperKind and specify height long enough to accommodate all of your pages.
Regards,
Steve
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Jason Gray
Top achievements
Rank 1
answered on 11 Sep 2008, 01:38 PM
Steve,$0$0$0$0Thank you for the repsonse. $0$0$0$0$01.) I am new to .NET as well as Telerik tools, could you possibly provide an example or point me in the right direction in regards to your described possible solutions.$0$0$0$0$02.) While using the report is great and I am happy with the "out of the box" paging I have yet to see the export function correctly, although the report is 51 pages I would expect one of the exports to work in a timely manner, but they instead hang for quite some time.$0$0$0$0$0Any help will be much appreciated!$0$0$0$0$0Thanks again,$0$0$0$0$0Jason$0
0
Hello Jason,
Actually only the last option is acceptable - setting custom paperkind and height of the papersize to stretch enough so that it would fit all of your pages in it (see screenshot). The "document" approach is not meant for use with reporting tools. If you want to create a document, you can wire up and use the Microsoft document API directly.
All the best,
Steve
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Actually only the last option is acceptable - setting custom paperkind and height of the papersize to stretch enough so that it would fit all of your pages in it (see screenshot). The "document" approach is not meant for use with reporting tools. If you want to create a document, you can wire up and use the Microsoft document API directly.
All the best,
Steve
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.