ExcelML Export extension

3 posts, 0 answers
  1. Thomas
    Thomas avatar
    1 posts
    Member since:
    Sep 2010

    Posted 15 Dec 2010 Link to this post

    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. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 20 Dec 2010 Link to this post

    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.
  3. JeffSM
    JeffSM avatar
    45 posts
    Member since:
    May 2014

    Posted 02 Dec 2017 Link to this post

    This POST is too old. This option already exist. But valid for the .FileExtension.
Back to Top