I bind a WebDataGrid during run time and when I export the grid (tried both DataInGridOnly and AllDataInDataSource) the resulting excel file only contains the headers of the grid but none of the actual data rows. Any ideas? View states are set to true for the grid and the excel exporters.
Thanks for your help!
You have to set the grid DataSource before exporting.