I've created a report that I'd like to export to Excel. The FileFormat class, however only has FileFormat.PDF, FileFormat.XPS and FileFormat.PlainText. I can succesfully export to these but not Excel.
my code after creating the report simply calls: report.Publish("filepath", FileFormat.PDF); Process.Start("filepath");
In the example at http://ko.infragistics.com/products/reporting/sample/print-and-export/export-a-report shows you can export to excel as well.
How do I accomplish this from a windows forms project? I am using infragistics 13.2
No, you had already stated that what I was looking for was not available for windows forms. I didn't think there was any need to follow up.
But yes, i was using Document.Reports, not Infragistics reporting. I didn't realize they were different.
thanks,
-jesus
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.
Hello ,
The provided link is about Infragistics Reporting, which is a separate product from Infragistics For Windows Forms.
http://help.infragistics.com/doc/reporting/2013.2/CLR4.0
And based on the code snipped it seems that you are using Documents.Report (http://help.infragistics.com/Help/Doc/WinForms/2013.2/CLR4.0/html/DocumentEngine_Writing_Reports.html ) which is included in the Infragistics For Windows Forms bundle and it doesn’t support export to Excel. In this case you could use UltraGrid in order to build your report and then to use UltraGridExcelExporter to export the grid in Excel workbook or UltraGridDocumentExporter to sport your grid to a PDF, XPS
Please let me know if you have any further questions.