Is there a setting I can change so that the columns are formatted as text in the exported Excel document?
I'm exporting the RadGrid to excel using the following settings. When I have a large number without dashes (for example a 13-digit ISBN like 9780071447997, it shows up as scientific format in the excel file (9.78007E+12). It would be a lot more user-friendly if the value is exported without any modification (i.e., format all values as text).
<ExportSettings ExportOnlyData="true">
<Excel Format="Html" />
</ExportSettings>
I'm exporting the RadGrid to excel using the following settings. When I have a large number without dashes (for example a 13-digit ISBN like 9780071447997, it shows up as scientific format in the excel file (9.78007E+12). It would be a lot more user-friendly if the value is exported without any modification (i.e., format all values as text).
<ExportSettings ExportOnlyData="true">
<Excel Format="Html" />
</ExportSettings>
string filename = "OrderImport";
MessageGrid.ExportSettings.FileName = filename;
MessageGrid.ExportSettings.IgnorePaging =
true;
MessageGrid.ExportSettings.OpenInNewWindow =
true;
MessageGrid.MasterTableView.ExportToExcel();