Hello,
Are there currently any plans to add native support to export to PDF from the XamDataGrid? If so, do you have an expected release date?
Thanks.
We are planning on converting our Infragistics Document framework from WinForms over to WPF and SL in 13.1. This has an example of creating a PDF
http://ko.infragistics.com/products/windows-forms/sample/infragistics-documents/export-to-pdf
The XamReportPreview and Reporting controls are different and the one I was talking about is this one:
http://ko.infragistics.com/products/reporting/
which is a separate Product from the NetAdvantage for WPF, where there is the XamReportPreview, which is not able to export to PDF. Also I can say that currently there aren’t plans for implementing PDF exporting in XamReportPreview, because we have another control that do such thing.
Hope this helps you.
Thanks Stefan,I've spent some time looking at the ReportViewer today and still do not see an easy way to implement this functionality.
Using the "old" Report class it seemed very simple to get my grid into the report section.
//Module level placeholder for the gridprivate XamDataGrid _GridToPrint;Infragistics.Windows.Reporting.Report report = new Infragistics.Windows.Reporting.Report();Infragistics.Windows.Reporting.EmbeddedVisualReportSection reportSection =
new Infragistics.Windows.Reporting.EmbeddedVisualReportSection(_GridToPrint);report.Sections.Add(reportSection);xamReportPreview.GeneratePreview(report, false, true);xamReportPreview.ApplyTemplate();
This would give me a real nice preview using the XamReportPreview
control.
However, there is no exporting functionality to PDF from the report
class or the XamReportPreviewControl.
Is there a simple example showing how to do this same thing using
the XamReportViewer control and a XamDataGrid?
I could not find an easy way to get the contents of my grid into the
XamReportViewer control in order to allow for them to be exported
to PDF.
Thank you for your post. I have been looking through it and I suggest you see this link:
http://ko.infragistics.com/dotnet/netadvantage/reporting.aspx#Overview
where there is an overview of our new NetAdvantage Reporting tool, which release date is scheduled for the Q4 of 2011. I believe it will be released along with the version 11.2 of our other products.