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

Export to PDF Document

2 Answers 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sreekanth
Top achievements
Rank 1
Sreekanth asked on 02 Feb 2012, 03:34 PM
Hi Team,

I have a datagrid with couple of records. And the datagrid has paging enabled.
I would like to generate a PDF file using the datagrid and its data...
PDF should contain data of all pages of the grid.
Please let me know how can i achieve this using  RADTelerik Controls.

Regards,
Sreekanth

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 03 Feb 2012, 08:18 AM
Hello,

Following this online demo, in the AddDataRows method you need to pass a collection with the items from all the pages. The GridView.Items collection contains only the items on the current page.
To learn how to export the entire PagedSource, please take a look at this forum thread.

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Dimitrina
Telerik team
answered on 03 Feb 2012, 08:49 AM
Hello,

Following this online demo, in the AddDataRows method you need to pass a collection with the items from all the pages. The GridView.Items collection contains only the items on the current page.

All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
Sreekanth
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Dimitrina
Telerik team
Share this question
or