Hi,
I need to export radgrid to CSV and Excel as well as print .One particular column of the grid is a datetime column .But in the grd_DataBound event I am changing the value of that field to either Y or null for business purpose(e.Item.Cells[4].Text = "Y";).
This is only for showing to the user and the column is bound to datetime field.
While exporting CSV exports the Y or null but excel exports the date time value. While print also I am getting Y or null value.
Could anybody please suggest a way to show cell text i.e. ‘Y’ in Excel also …?
grd.ExportSettings.ExportOnlyData =
true
;
grd.ExportSettings.IgnorePaging =
true
;
grd.ExportSettings.Excel.Format = Telerik.Web.UI.GridExcelExportFormat.ExcelML;
grd.ExportSettings.OpenInNewWindow =
true
;
Regards,
Soumya