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

Export to CSV

5 Answers 149 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mary
Top achievements
Rank 1
Mary asked on 22 Jul 2008, 04:47 AM
Hi,

There is a radgrid to bind the transactions. Account Number and User Information are part of the same page to filter the transactions. I want to export the transactions in csv format. ExportToCsv() works fine. But I need to export the Account and User Information as well. Is there a way to export Account Numbers and User Details which are not in the grid?

Thanks,
Mary.


5 Answers, 1 is accepted

Sort by
0
t
Top achievements
Rank 1
answered on 22 Jul 2008, 06:57 AM
That issue is interesting for me, too.

Hopefully there is a possibility.
0
Sebastian
Telerik team
answered on 22 Jul 2008, 07:22 AM
Hi guys,

You may consider adding the Account number and user information as part of the Caption property of the MasterTableView. Thus these details should be added to the exported document.

Kind regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mary
Top achievements
Rank 1
answered on 22 Jul 2008, 08:45 PM
Hi Stephen,

Thank you for your reply.

After defining the Caption property to the MasterTableView, the same is not exported in the document when ExportToCsv() is used. But it works for ExportToExcel().

Can you please tell me how to get the same exported in csv format (ExportToCsv)?

Thanks,
Mary.
0
Sebastian
Telerik team
answered on 23 Jul 2008, 08:43 AM
Hello Mary,

Please excuse me if my previous reply was misleading - actually the CSV format (Comma-separated values) does not allow to export the Caption property value since the exported data includes merely column and item data. If you would like to add the extra information to the exported document, consider using the Export to Excel or Word feature of our web grid.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mary
Top achievements
Rank 1
answered on 24 Jul 2008, 12:14 AM
Hello Steven,

Thank you for your prompt response. 

Thanks,
Mary.

Tags
Grid
Asked by
Mary
Top achievements
Rank 1
Answers by
t
Top achievements
Rank 1
Sebastian
Telerik team
Mary
Top achievements
Rank 1
Share this question
or