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

PageNumber in pageHeaderSection1_ItemDataBinding

1 Answer 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 17 Sep 2012, 01:23 PM
Hello,
It's possible to have the PageNumber/PageCount in the codebehind during the ItemDataBinding/ItemDataBound event?
Thanks

1 Answer, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 20 Sep 2012, 11:11 AM
Hello Paolo,

The events that you have mentioned are fired during the processing of the report which is different than the rendering. First the data is processed and then it is rendered in a particular rendering format. Depending on the format and current settings the pages are formed. Since the two processes are detached there is no way you can know the page count and number during the processing. For more information please see: Report Life Cycle.
 
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 >

Tags
General Discussions
Asked by
Michele
Top achievements
Rank 2
Answers by
Elian
Telerik team
Share this question
or