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

[Solved] Export Button \ Paging

2 Answers 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 26 May 2009, 05:31 PM
I am needing to put the Export (pdf/excel) buttons inside of the paging area, next to the "Page Size".  I was wondering if that can be possible and if so is there an example?

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 May 2009, 05:18 AM
Hello Robert,

You can use a PagerTemplate and customize it according to your requirement. You can place a button in the PagerTemplate and set its Command Name. In the ItemCommand event of the grid, you can check for the CommandName and then perfom export. Check out the following demo to understand the use of PagerTemplate:
Pager Template

Thanks
Princy.
0
Daniel
Telerik team
answered on 27 May 2009, 08:36 AM
Hello Robert,

You can also add the button directly in the GridPagerItem as demonstrated in the attached example.

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Robert
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Daniel
Telerik team
Share this question
or