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

Get page per row

3 Answers 146 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 29 Feb 2016, 05:59 AM

Hi,

 

it is possible to obtain page numbers per line. I need to save the current page number in the database per line.
Right now I have a report where I determine the line and page numbers, but page numbers are generated after printing, so I can only save the scope of pages.

Thank you.

Andreas

3 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 02 Mar 2016, 11:06 AM
Hello Andreas,

Page numbers can be retrieved from the PageNumber object in an expression. Note that the PageNumber object is available and can be used only inside the Page Header and Page Footer sections.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Andreas
Top achievements
Rank 1
answered on 02 Mar 2016, 06:19 PM

Hello Nasko,

 

yes I know and I have included this feature but it's too late to use this function, because first the rows are printing and at the end the page-headers. So I can only get the page-range.

 

Sample:

Page 1:

row 1
row 2
row 3
row 4

Page 2:

row 5
row 6
row 7

I must know the page is 1 at row 1 to 4 and page is 2 at row 5 to 7.
I hope you understand what I mean.

Regards,

Andreas

 

 

 

0
Accepted
Nasko
Telerik team
answered on 07 Mar 2016, 11:03 AM
Hello Andreas,

Saving the current page number or any other information from the report to a database is not in the scope of the Reporting solution. In the report life cycle, the paging is separated from the processing of the report and you will be unable to retrieve the required information.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Andreas
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Andreas
Top achievements
Rank 1
Share this question
or