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

Export to CSV hangs on

1 Answer 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Iliya
Top achievements
Rank 1
Iliya asked on 12 Apr 2012, 02:44 PM
I use RadGrid with «auto» export to csv and excel.
It work fine when the grid doent have huge amount of records.
But when its binded to 1M+ records linq datasource (with paging) and you would try to export data then it would hang on

Is it possible to override exporting process and somehow optimize it manually (like, create middle-step dump file then zip it and return url on zip file)?

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 17 Apr 2012, 01:07 PM
Hello Iliya,

The built-in export is not suitable for such scenarios. In this case, the easiest approach would be to traverse your datasource and manually build the output CSV file on your own.

Regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Iliya
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or