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.
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.
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.