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

Gridview Excel Export Crashes Excel?

3 Answers 65 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Todd
Top achievements
Rank 1
Todd asked on 19 May 2008, 02:24 PM
I'm implementing the gridview in a 2.0 c# windows forms app.  When I export the gridview to Excel, all open instances of Excel crash. The export works, but crashing Excel is a little disruptive.

Has anyone experienced this in the past, and are there likely causes/workarounds?

Please advise...

Many thanks!



3 Answers, 1 is accepted

Sort by
0
Vassil Petev
Telerik team
answered on 19 May 2008, 04:23 PM
Hi Todd,

Thank you for your question.

Could you let us know which version of Telerik WinForms controls are you using? Also, what is the Excel version you are trying to open the exported file with?


Awaiting your response,
Vassil
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Todd
Top achievements
Rank 1
answered on 19 May 2008, 05:25 PM
I'm using "RadControls for WinForms Q3 2007 SP1".  My 2.0 c# project is referencing the "Microsoft Office 11.0 Object Library" and we're running "Office/Excel 2003".

The source code is pretty much straight from the samples...

Thanks!
Todd

0
Martin Vasilev
Telerik team
answered on 22 May 2008, 11:43 AM
Hello Todd,

Thank you for the additional information.

Currently, when exporting finishes, all COM Excel objects are closed. Please excuse us for the inconvenience. We will investigate this issue and address it in one of our future releases.

If you have other questions, do not hesitate to contact me again.

Kind regards,
Martin Vasilev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
Todd
Top achievements
Rank 1
Answers by
Vassil Petev
Telerik team
Todd
Top achievements
Rank 1
Martin Vasilev
Telerik team
Share this question
or