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

Radgrid export to CSV for dynamic GridTemplateColumn

1 Answer 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
nirmal
Top achievements
Rank 1
nirmal asked on 05 Apr 2010, 01:03 PM
Hi,

I have a grid with many GridBoundColumns and one GridTemplateColumn. The GridTemplateColumn has a ItemTemplate which is generated dynamically from code-behind. I have a place holder in the ItemTemplate in which a table is added programmatically.
<ItemTemplate>
                            <asp:placeholder id="DetailPlaceHolder" runat="server"></asp:placeholder>
</ItemTemplate>

The table for each row in the Radgrid is added to the placeholder in the OnItemDataBound event. The grid displays the data in the perfect manner as desired.However, my export functions are not including the dynamically generated tables. All the export functions ExportToExcel, ExportToCSV, ExportToWord donot include the dynamically generated table in the GridTemplateColumn. I can get the excel and word to work by making the ExportOnlyData="false", but then also my ExportToCSV is not working. Can anyone please tell me how to solve this problem ??

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 05 Apr 2010, 04:05 PM
Hello Nirmal,

It is not possible to export the table in CSV format - it supports data only.

Regards,
Daniel
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
nirmal
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or