Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3788
why does this problem come?
posted

Why does below problem come when exporting the grid data into excel file?

'auto' cannot be parsed as a unit as there are no numeric values in it. Examples of valid unit strings are '1px' and '.5in'.

Code:   

excelExporter.ExportMode = ExportMode.Download;
      excelExporter.DataExportMode = DataExportMode.DataInGridOnly;  

      excelExporter.Export(TableGrid);

Parents
No Data
Reply
  • 33839
    posted

    Hi Mypost,

    This sounds like a bug and very similar to an internal bug for the DocumentExporter, 70393.  That one had it trying to parse 'Thick' as a Unit.  If you could maybe attach a sample here, I could tell if it is the same issue or different.

    regards,
    David Young 

Children