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

SaveasExcel Fails

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bryan
Top achievements
Rank 1
Bryan asked on 16 Jan 2019, 09:46 PM
I'm exporting a kendo grid to excel and it only fails under certain circumstances, generally when there's a large text field in one of the cells .The HTML is rendered fine, but when I open the workbook in excel it tells me the file has been corrupted (sometimes no data is in the worksheet at all). Read in the forums that this was an issue encountered by other users and there was a fix made to account for it, but I've upgraded to the latest version of the controls and I'm still seeing it. Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 18 Jan 2019, 03:00 PM
Hello Bryan,

We are currently investigating the same issue in a support thread opened by a colleague of yours. We tried reproducing the issue by creating a Grid with some very long data strings (including one shared by your colleague), but until now we weren't successful in getting a corrupted Excel file. It would be best if you could provide us with an example where the error can be reproduced, so we can debug the export process when it fails.

If this is not possible, please send us the full Grid declaration and any custom code that you may have, related to the export. You could post the code here or in the support thread.

Regards,
Tsvetina
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Bryan
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or