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

Export to excel keeps controls

1 Answer 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Reza
Top achievements
Rank 1
Reza asked on 18 Nov 2011, 07:31 PM
When I try to export to excel, dropdown controls and checkboxes also get exported in to the XLS document.

  RadGrid1.MasterTableView.ExportToExcel(); //exports everything from the grid, including the controls. 

How can I prevent this from happening?

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 19 Nov 2011, 07:59 AM
Hello Reza,

Please set below property in your Grid.
<ExportSettings ExportOnlyData="true"></ExportSettings>


Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Reza
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or