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);