Hi.
I have a grid which is bound to an object bindinglist. Some properties are of the DateTime type. When some value is null I need to expose them as DateTime.MinValue and format them on CellFormatting, if the value is DateTime.MinValue I set the Text of the cell to String.Empty. It works fine.
But when I export to excel xml it is exported as <Data ss:Type="DateTime">0001-01-01T00:00:00.000</Data> which excel will not read.
How do I solve this?
I am still on RadControls 2009.3.9.1111. I try upgrading to 2010 but it was too much work to upgrade. Will do someday.
Thanks
- jorge
I have a grid which is bound to an object bindinglist. Some properties are of the DateTime type. When some value is null I need to expose them as DateTime.MinValue and format them on CellFormatting, if the value is DateTime.MinValue I set the Text of the cell to String.Empty. It works fine.
But when I export to excel xml it is exported as <Data ss:Type="DateTime">0001-01-01T00:00:00.000</Data> which excel will not read.
How do I solve this?
I am still on RadControls 2009.3.9.1111. I try upgrading to 2010 but it was too much work to upgrade. Will do someday.
Thanks
- jorge