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

Export to Excel: Error when open file

5 Answers 120 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 28 Dec 2010, 12:17 PM
Hello Telerik,
When export to excel is executed Excel file report error:

The file you are trying to open, 'SomeFile.xls' , is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you wabt to open the file now? Yes, No, Help

When yes is clicked file is opened.

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 28 Dec 2010, 12:19 PM
Hi,

You can use ExcelML type and save the file with xml extension. 

Best wishes,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Jan
Top achievements
Rank 1
answered on 28 Dec 2010, 01:22 PM
Hi Vlad,

Customer wants xls file, no xml.

Best regards
0
Vlad
Telerik team
answered on 28 Dec 2010, 01:25 PM
Hello,

 This file even with XML extension will still be associated with MS Excel. 

Best wishes,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Jan
Top achievements
Rank 1
answered on 04 Jan 2011, 04:49 PM
Hi Vlad, 
I can understand that, but the clients are adamant it has to be xls. Can you give me any information if you plan to do anything about the xls format in the future?
Thanks for your help. 
0
Veselin Vasilev
Telerik team
answered on 04 Jan 2011, 05:07 PM
Hi DCMS,

This troubleshooting article has more information.

Regards,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
GridView
Asked by
Jan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Jan
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or