Hello
I want to export data from multiple RadGridView to a single Excel file with multiple sheet. What I tried now it can export only 1 gridview to 1 file, if I try to export to same file, it was overwritten.
I did a search and found that it can't be done during last year. not sure what is the current status now.
http://www.telerik.com/community/forums/winforms/gridview/export-to-excel-with-gridview.aspx
Could anyone provide me an example please?
Best Regards,
Smith
I want to export data from multiple RadGridView to a single Excel file with multiple sheet. What I tried now it can export only 1 gridview to 1 file, if I try to export to same file, it was overwritten.
I did a search and found that it can't be done during last year. not sure what is the current status now.
http://www.telerik.com/community/forums/winforms/gridview/export-to-excel-with-gridview.aspx
Could anyone provide me an example please?
Best Regards,
Smith
4 Answers, 1 is accepted
0

Smith
Top achievements
Rank 1
answered on 15 Jun 2012, 10:52 AM
Hello
I notice that telerik asp.net support exporting to multiple sheets in single excel file. Is it possible to borrow that and use them in winform please?
http://www.telerik.com/community/code-library/aspnet-ajax/grid/export-multiple-radgrids-in-single-pdf-excel-file.aspx
http://www.telerik.com/community/code-library/aspnet-ajax/grid/multiple-worksheets-in-excelml.aspx
Best Regards,
Smith
0
Accepted
Hi Smith,
Thank you for writing.
This functionality is not supported by the ExportToExcelML functionality. We have added this as a feature request into our Public Issue Tracking System - PITS. You can add your vote/comment on the following link - PITS Feature. If there are many users that require this feature, we will consider it when we make our future development plans.
I hope this will be useful. Should you have further questions, I would be glad to help.
Kind regards,
Ivan Petrov
the Telerik team
Thank you for writing.
This functionality is not supported by the ExportToExcelML functionality. We have added this as a feature request into our Public Issue Tracking System - PITS. You can add your vote/comment on the following link - PITS Feature. If there are many users that require this feature, we will consider it when we make our future development plans.
I hope this will be useful. Should you have further questions, I would be glad to help.
Kind regards,
Ivan Petrov
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0

Agila
Top achievements
Rank 1
answered on 22 Nov 2017, 10:08 AM
Hello Team,
Is there any updates for this functionality??
Currently, we are using ExportToXlsx method to perform excel export. Is there any possibility to export to multiple sheet from a Rad GridView.
Please update with some examples.
Thank you.
0
Hello Agila,
Thank you for writing.
You can use the GridViewSpreadExport class which utilizes the SpreadProcessing libraries exporting natively to Excel. The spread export object exposes and FileExportMode property and you can set it so that you export multiple grids in a single file each being on a separate sheet:
Please check the following documentation article providing detailed information: https://docs.telerik.com/devtools/winforms/gridview/exporting-data/spread-export.
I hope this helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Progress Telerik
Thank you for writing.
You can use the GridViewSpreadExport class which utilizes the SpreadProcessing libraries exporting natively to Excel. The spread export object exposes and FileExportMode property and you can set it so that you export multiple grids in a single file each being on a separate sheet:
GridViewSpreadExport spreadExporter =
new
GridViewSpreadExport(
this
.radGridView1);
spreadExporter.FileExportMode = FileExportMode.NewSheetInExistingFile;
Please check the following documentation article providing detailed information: https://docs.telerik.com/devtools/winforms/gridview/exporting-data/spread-export.
I hope this helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.