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

Export to HTML/CSV

2 Answers 106 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Henrik Holte
Top achievements
Rank 1
Henrik Holte asked on 13 Apr 2009, 08:43 AM
Hi,
I think there is a bug in your Radgrid control. When I use the ToHtml() or ToCsv() with a filter then it take all the data.

If I have grid, with lets say 100 records and I then make a filter ( the build in) so I only have 2 records shown and then make the export to word (ToHtml)
Then I end up with a word Doc with a nice header and 2 records perfect formattet but I also have the rest of the record as one long text string.
The same problem is with the ToCsv.

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 13 Apr 2009, 09:05 AM
Hello Henrik,

I've just tried this however everything worked fine on my end - you can find small application attached.

All the best,
Vlad
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Henrik Holte
Top achievements
Rank 1
answered on 13 Apr 2009, 09:42 AM
Hi,

Sorry i was stupid. I use the same temp file. I have to delete it first before I make a new.

Thanks for fast reply.

Tags
GridView
Asked by
Henrik Holte
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Henrik Holte
Top achievements
Rank 1
Share this question
or