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

export to excel destroy grid paging

1 Answer 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
bahar kashani
Top achievements
Rank 1
bahar kashani asked on 20 Dec 2014, 07:24 AM
Hello

I use rad grid with paging but after using export to excel, paging of my grid is gone.
Could you help me?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 25 Dec 2014, 08:12 AM
Hello Bahar,

Can you verify that you are not using DataBind() to bind the grid? Please note that performing complex grid operations such as Inserting, Deleting, Updating, Hierarchy relations, Grouping, Exporting, Paging, Sorting, Filtering, etc. require accommodating appropriate database operations.  Therefore, we suggest you to avoid Simple Databinding and strongly recommend the use of more advanced databinding methods, which automatically handle the aforementioned functions:
Declarative DataSource
Advanced Data Binding


Also, additional handling is required if the grid is ajaxified:
http://www.telerik.com/help/aspnet-ajax/grid-export-with-ajax-enabled.html

Hope this helps.

Regards,
Eyup
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.

 
Tags
Grid
Asked by
bahar kashani
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or