Hi,
I am using radgrid excel export using html format. In radgrid ExportCellFormatting event we are formatting the date column as below
If e.FormattedColumn.UniqueName = "t_UploadedOn" Then
e.Cell.Style("mso-number-format") = "dd\-mm\-yyyy\ HH\:mm\:ss\"
End If
The above works fine if date is something like 29-01-2015, but if date is like 1st of Feb 2015 then it will show as 02-01-2015. Please see the attached screen grab of recent export.
Any help would be greatly appreciated.
I am using radgrid excel export using html format. In radgrid ExportCellFormatting event we are formatting the date column as below
If e.FormattedColumn.UniqueName = "t_UploadedOn" Then
e.Cell.Style("mso-number-format") = "dd\-mm\-yyyy\ HH\:mm\:ss\"
End If
The above works fine if date is something like 29-01-2015, but if date is like 1st of Feb 2015 then it will show as 02-01-2015. Please see the attached screen grab of recent export.
Any help would be greatly appreciated.