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

How to stop Rad grid rebinding on export to excel

1 Answer 163 Views
Grid
This is a migrated thread and some comments may be shown as answers.
selin
Top achievements
Rank 1
selin asked on 17 Sep 2014, 07:34 AM
I am having a radgrid in my page and using telerik excel export API for exporting to excel.I have around 60000-70000 records in my datasource.Every time I call export to excel, the grid rebinds(row created event is getting called).How to prevent this from happening.Is there any way to export the datasaource without rebinding the grid.

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 22 Sep 2014, 06:52 AM
Hello Selin,

I am afraid that calling a Rebind is mandatory when exporting the grid. The reason is that the grid perform a request to the server to fetch the data from the database. Then the respond is not going back to the client but it is used to export the grid.

Regards,
Kostadin
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
selin
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or