Hi,
I have implemented a Radgrid in my website and i have added the following attribute to each Gridboundcolumn:
DataFormatString="<nobr>{0}</nobr>"
The purpose of this was to resize the width of each column to the data it contains automatically as i understand there is no other way to do so.
The problem I have is that when I export the gridcontents to Excel or csv, then the <nobr></nobr> tags surround each cell's data.
Is there a way to eliminate these tags on export without having to first replace the tags in the grid contents, which in turn removes the formatting?
Regards,
Shane
I have implemented a Radgrid in my website and i have added the following attribute to each Gridboundcolumn:
DataFormatString="<nobr>{0}</nobr>"
The purpose of this was to resize the width of each column to the data it contains automatically as i understand there is no other way to do so.
The problem I have is that when I export the gridcontents to Excel or csv, then the <nobr></nobr> tags surround each cell's data.
Is there a way to eliminate these tags on export without having to first replace the tags in the grid contents, which in turn removes the formatting?
Regards,
Shane