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

[Solved] Use HeaderText for ExportToCsv

1 Answer 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gregory Ott
Top achievements
Rank 1
Gregory Ott asked on 01 Jan 2008, 09:56 PM
1. Could you update the code for ExportToCSV to that it uses the HeaderText, if available, instead of the DataField or UniqueName? This would make it consistent with ExportToExcel.

2. Also, I believe the method should be named ExportToCsv, according to Microsoft's naming guidelines (acronyms three characters or longer should be Pascal-cased, not uppercase). Same for ExportToPdf (not ExportToPDF).

Thanks,

David

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 02 Jan 2008, 08:48 AM
Hello Gregory,

We will fix the problem with the HeaderText when exporting to CSV for sure. We will also consider renaming the methods -- your suggestion is quite reasonable.

I have updated your Telerik points for the feedback, thank you!

Kind regards,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Gregory Ott
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or