In v1 of Telerik Reporting the PageNumber and PageCount global variables are available only
to items that reside in PageHeaderSection or PageFooterSection. In an item binding expression you can use them the same way as the data fields.
For example let's have a TextBox item named "pageTextBox" in the report's page footer. Setting its value with the following binding expression:
pageTextBox.Value = "=PageNumber + ' of ' + PageCount";
will show the following when the report is rendered:
1 of 10
2 of 10
As a working example of the PageNumber and PageCount global variables I suggest you to examine the accompanying sample solutions - there is an example named EventsReport
that contains a TextBox - txtPageNumber - that displays the current page number.
Regarding the rendering events - these events were not intended to be public as they are subject to change in future versions. We are not sure how they made it into the help, but they will be removed and the API reference will show only the public API state in the upcoming service pack. We are sorry if this causes any inconvenience.