Hello,
I have a radGrid that contains a cell with some mouse-over text. When I export to CSV, that mouse-over text is included in the CSV file. Is there are way to exclude or remove this mouse-over text from the CSV?
I'm considering putting code in the "RadGrid1_GridExporting" function (when ExportType is "ExportType.Csv") that would place the output first in a string[]...
string[] lines = e.ExportOutput.Split('\n');
Then, I'd would search each line for the mouse-over text (I can identify it by certain chars in the description), remove the text and then do a Replace on the output...
e.ExportOutput = e.ExportOutput.Replace(oldLine, lines[0]);
However, this doesn't seem like it'd be best practice. Is there another way of doing it?
Thanks,
Matt