Hello,
I am using the export feature of RadGrid to export data to our user community in excel format.
I am setting AutoGenerateColumns to true upon export so that the ouput includes data that is not visible in the grid.
This action will cause the DataKeyNames to be included in the export output.
The DataKeyNames of the MasterTableView are of course necessary when binding data to the grid (binding to the grid is required when exporting).
I would like to hide the DataKeyNames from the export since they reference primary keys for the data and shouldn't be exposed to our users.
Since the grid must be bound before the export, how do I exclude the DataKeyNames from the excel output?
Thanks,
Jon
I am using the export feature of RadGrid to export data to our user community in excel format.
I am setting AutoGenerateColumns to true upon export so that the ouput includes data that is not visible in the grid.
This action will cause the DataKeyNames to be included in the export output.
The DataKeyNames of the MasterTableView are of course necessary when binding data to the grid (binding to the grid is required when exporting).
I would like to hide the DataKeyNames from the export since they reference primary keys for the data and shouldn't be exposed to our users.
Since the grid must be bound before the export, how do I exclude the DataKeyNames from the excel output?
Thanks,
Jon