This is a migrated thread and some comments may be shown as answers.

RadGrid: how to avoid exporting image columns

1 Answer 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Oscar
Top achievements
Rank 1
Oscar asked on 07 May 2010, 07:46 PM
Hello, I have a lot of grids with image columns (first and last columns are icons). I want to export the grid to excel, but I DO NOT want the image columns to be exported (they mess the excel column widths).
Also, each time I export a grid to excel, I get a warning "The file you are trying to open is in a diffent format than specified by file extension....".  After accepting, the file is nevertheless opened. But the image columns make a mess.
Any way to avoid exporting them and solving the warning?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 10 May 2010, 09:29 AM

Hello,

You could set the property ExportSettings -> ExportOnlyData = "false" in order to export only the data or to exclude the controls/images from the exported file.

-Shinu.

Tags
General Discussions
Asked by
Oscar
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or