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

Pagenumber

1 Answer 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Koen L
Top achievements
Rank 1
Koen L asked on 24 Aug 2011, 07:19 AM
Hi,

We need to make a report with on every page a barcode. This barcode is used in a postsortingmachine.
This barcode will be different depending on pagenumber. Is it possible to see on what page u are in the report?
Then we can use the pagenumber to use so logic that creates the correct barcode for that page. U can see this barcode as a secuence of stripes in a vertical way.
If i read the lifecycle then i would say it's not possible. But maybe there is a way to do this anyway.

Kind regards,

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 26 Aug 2011, 02:40 PM
Hello Koen L,

Data processing and paging are two separate processes and as explained in the Understanding Report Sections help article, the paging of a report strongly depends on the format it is rendered to, and that is why page sections and their items are processed by the corresponding rendering extension after the report data has been processed. This is the reason why PageNumber/PageCount globals are not available in any section other than PageHeader/Footer section. Still if the BarCode is located in PageHeader/Footer section you can use the PageNumber and PageCount objects for a BarCode.Value.

Greetings,
Peter
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
General Discussions
Asked by
Koen L
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or