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

Export To Excel

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Maher
Top achievements
Rank 1
Maher asked on 16 Sep 2010, 06:50 PM
I have a grid that contains a lot of rows. To make the grid populate faster I set its "EnableViewState = false". However, now I cannot use the method "ExportToExcel()", it is giving me error regarding the ViewState of the grid.

My question is, is it possible to export grid data to excel if its "EnableViewState = false"?

Thank You
Maher

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 16 Sep 2010, 09:24 PM
Hello Maher,

You can try to export RadGrid with disabled ViewState when the following conditions are satisfied:
- exporting from an external button (not the built-in)
- using the HTML Excel format

Kind 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
Grid
Asked by
Maher
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or