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

RadGrid GridTemplateColumn's export to CSV cliend side

1 Answer 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Catalin
Top achievements
Rank 1
Catalin asked on 24 Mar 2011, 11:08 AM
Hi,
I'm struggling to export a radgrid to csv or excel on client side. My grid is declarative created in aspx page and the structure is generated in Page OnInit. There are multiples GridTemplateColumns created with HeaderTemplate and ItemTemplate. Inside the ItemTemplate is a RadioButtonList created.
The problem is that the data from GridTemplateColumns is excluded from generated csv file.
I saw to following post:
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/radgrid-export-to-csv-for-dynamic-gridtemplatecolumn.aspx
What I'm asking here is maybe something was changed in terms of client side exporting from the date of the previous post.
Thank you
Catalin

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 29 Mar 2011, 03:25 PM
Hello Catalin,

It is possible to export text content from the template column - the easiest way is to populate this it inside a Label control.
Note that ExportOnlyData property should be set to false:
<ExportSettings ExportOnlyData="false"

Regards,
Daniel
the Telerik team
Tags
Grid
Asked by
Catalin
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or