4 Answers, 1 is accepted
0
Accepted

Princy
Top achievements
Rank 2
answered on 11 Sep 2013, 11:16 AM
Hi Ryann,
From Q2 2013 PDF export supports header and footer. PageFooter elements contains the footer cells and they are applicable to ExportSettings-Pdf tab. The supported child properties for the both elements are LeftCell, MiddleCell, RightCell which contain the cell text and text alignment properties. Apart from the plain text, the cell text property can contain HTML code, and a special tag <?page-number?> which can be used to display the current page's number.
ASPX:
Thanks,
Princy
From Q2 2013 PDF export supports header and footer. PageFooter elements contains the footer cells and they are applicable to ExportSettings-Pdf tab. The supported child properties for the both elements are LeftCell, MiddleCell, RightCell which contain the cell text and text alignment properties. Apart from the plain text, the cell text property can contain HTML code, and a special tag <?page-number?> which can be used to display the current page's number.
ASPX:
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
. . . >
<
ExportSettings
>
<
Pdf
>
<
PageFooter
>
<
MiddleCell
Text="<?page-number?>" />
</
PageFooter
>
</
Pdf
>
</
ExportSettings
>
<
MasterTableView
CommandItemSettings-ShowExportToPdfButton
=
"true"
CommandItemDisplay
=
"Top"
>
</
MasterTableView
>
</
telerik:RadGrid
>
Thanks,
Princy
0

Ryann
Top achievements
Rank 1
answered on 20 Sep 2013, 05:50 PM
Thanks princy.
0

Padam
Top achievements
Rank 1
answered on 12 Dec 2014, 09:45 PM
How can I get page numbers in 'Page 1 of n' format? i.e., I need to know the total number of pages in the report as well as the current page number? This is important for reporting purposes. Please let us know.
0
Hello Gregory,
I'm afraid it is not possible to display the total number of pages when exporting to PDF format. I would suggest that you fill a feature request in our feedback portal.
Please accept our apologies for any inconvenience caused.
Regards,
Daniel
Telerik
I'm afraid it is not possible to display the total number of pages when exporting to PDF format. I would suggest that you fill a feature request in our feedback portal.
Please accept our apologies for any inconvenience caused.
Regards,
Daniel
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.