Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
485
Exporting 2 webgrids to single pdf
posted

I am using v13.2.20132.2187 of Infragistics.

Basically I am trying to export data of two webgrids on the same web page to a single PDF but, it's not working.

Following is the sample code that I am using,

.aspx side

<ig:WebDocumentExporter Format="PDF" runat="server" ID="WebDocumentExporter" ExportMode="Download" DownloadName="ExportedData" />


.cs side

Report pdfReport = new Report();

ISection section = pdfReport.AddSection();

WebDocumentExporter.Export(grid1, pdfReport, section);

section = pdfReport.AddSection();

WebDocumentExporter.Export(grid2, pdfReport, section);