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

[Solved] Grid to Excel export

3 Answers 126 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rob
Top achievements
Rank 1
Rob asked on 25 Aug 2011, 01:12 AM
Hi all,

We have successfully exported our grids to excel but we have one annoying problem.
The date filter does not work as it should. See the image. Telerik exported excel is on the left and a manually made spreadsheet with a date filter is on the right.

Any ideas on how we can fix this?

Format: ExcelML

3 Answers, 1 is accepted

Sort by
0
Rob
Top achievements
Rank 1
answered on 25 Aug 2011, 06:22 AM
I noticed that even your demo outputs dates as strings http://demos.telerik.com/silverlight/#GridView/Exporting in ExcelML. Maybe we're both doing something wrong.
0
Pavel Pavlov
Telerik team
answered on 25 Aug 2011, 09:40 AM
Hi Rob,

I have just made a test here with our online demo . Here the dates were exported as dates not as strings and the filter was OK as you can see in my screen capture.

That makes me believe that Excel will parse / or not  the dates depending on the localization settings of the operating system .

Regards,
Pavel Pavlov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Rob
Top achievements
Rank 1
answered on 25 Aug 2011, 11:08 PM
Hi Pavel Pavlov,

Thank you for your reply. Are you using the excel csv export function in that demo? Sorry I should have been clearer that we are using the ExcelML format. Does the ExcelML export format filter work correctly on your pc?
Tags
GridView
Asked by
Rob
Top achievements
Rank 1
Answers by
Rob
Top achievements
Rank 1
Pavel Pavlov
Telerik team
Share this question
or