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

ExcelML Export extension

2 Answers 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 15 Dec 2010, 05:36 PM
Dear Telerik,

Iam trying to export my RadGrid data, it works. But the excelfile has the ".xls" extension. Iam trying to replace the file extension with the next line of code:
Grid1.ExportSettings.Excel.FileExtension = "xlsx"
 
''I want to export to .xml extension to avoid the window for the untrusted resource of the excel ''document.
 
Grid1.ExportSettings.Excel.FileExtension = "xml"

So how can I edit the file extension of the export document?

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 20 Dec 2010, 10:30 PM
Hello Thomas,

Unfortunately it is not possible to export RadGrid to xlsx format directly. Instead, you can export the file to xls and then re-save the file with the desired extension.

Regards,
Daniel
the Telerik team
Browse the vast support resources we have to jump start 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
JeffSM
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 02 Dec 2017, 12:39 PM
This POST is too old. This option already exist. But valid for the .FileExtension.
Tags
Grid
Asked by
Thomas
Top achievements
Rank 1
Answers by
Daniel
Telerik team
JeffSM
Top achievements
Rank 2
Iron
Veteran
Iron
Share this question
or