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

[Solved] Issue with Excel export

3 Answers 94 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Patrik
Top achievements
Rank 1
Patrik asked on 18 May 2013, 02:45 PM
Hi,

i need to export data from RadGrid to Excel, I have set the RadGrid accordingly to the scenario in demo examples, but I am getting a really wierd excel file (see image attached).

Any idea what could cause such a behaviour?

Thanks,

P.

3 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 18 May 2013, 04:40 PM
Hello,

Please try with below code snippet.

<ExportSettings ExportOnlyData="true"></ExportSettings>

Let me know if any concern.

Thanks,
Jayesh Goyani
0
Patrik
Top achievements
Rank 1
answered on 18 May 2013, 08:24 PM
I thought there could be somewhere such a property, but couldnt find it. Could you please tell me where exactly I should put the code you provided within the RadGrid markup hierarchy?

Thanks,

P.
0
Patrik
Top achievements
Rank 1
answered on 19 May 2013, 06:20 PM
No worries, just found it and it works!

Thank you,

P.
Tags
Grid
Asked by
Patrik
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Patrik
Top achievements
Rank 1
Share this question
or