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

Steaming directly to Excel

1 Answer 49 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Deon
Top achievements
Rank 1
Deon asked on 03 Mar 2012, 02:36 AM
The code samples provide a mechanism for saving the file and then subsequently open Excel with the saved file. 

We would like to follow a more standard paradigm with regards to exporting to Excel.  We would like to stream the contents of the grid directly to Excel - similar to some other well know applications (e.g. SSRS).  The saving of the file would then becomes the prerogative of the end-user.

Is there a way to do so?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 05 Mar 2012, 08:28 AM
Hello,

 You can use COM to create desired MS Office document (Excel in this case) and write desired values looping the grid items/columns similar to this demo

Regards,
Vlad
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
GridView
Asked by
Deon
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or