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);
My Grid is in update panel and a export button is also is in another update panel. I am setting the each grid column width in pixals excepting last column.
when i click export button then issue arise.
I registered the export button as fullpostback control then also issue arise.
What should i do to resolve issue?
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