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

Out of memory exception for RadGrid Export to Excel with 2010 Q2 Release

3 Answers 167 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Atit Thaker
Top achievements
Rank 1
Atit Thaker asked on 27 Nov 2010, 07:20 AM
Hi,

I am using Teleik 2010 Q2 Release in my project. I have a grid which has around 20,096 records with subgrid.

But when I try to export to excel, it says out of memory exception.

Is there any solution for this? Is this issue resolved? Or is there any workaround?

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 29 Nov 2010, 07:56 AM
Hello Atit,

Please examine the "Exporting a large amount of data" section in the following link:
RadGrid export overview

Let me know if you need more information.

Regards,
Daniel
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Thomas
Top achievements
Rank 1
answered on 02 Aug 2011, 04:11 PM
Hi Daniel,

your Link doesn't work. Can you tell me the acutal Link?

Thank you

Tom
0
Jayesh Goyani
Top achievements
Rank 2
answered on 02 Aug 2011, 06:10 PM
Hello,

Radgrid is not able to export large amount of data. You have to export it with simple way or with pagging.

Exporting a large amount of data

Note : You get this error because Radgrid take all record in memory and then after it export to excel/Csv/Pdf.so it was throw outofmemory exception.

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Atit Thaker
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Thomas
Top achievements
Rank 1
Jayesh Goyani
Top achievements
Rank 2
Share this question
or