RadGrid: how to avoid exporting image columns

2 posts, 0 answers
  1. Oscar
    Oscar avatar
    21 posts
    Member since:
    Sep 2008

    Posted 07 May 2010 Link to this post

    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?


  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 10 May 2010 Link to this post


    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.


Back to Top