Hello everybody
I just want to know if it's possible export grid to pdf.
In another page there's a code for that:
GridPDFConverter pdfConvertor = new GridPDFConverter();
pdfConvertor.ExportToPdf("Sample1.pdf", this.GridControl);
In my project the grid is GridGroupingControl type and the method ExportToPdf doesn't accept me this kind of grid.
Best Regards.
MA
Mahendran
Syncfusion Team
March 8, 2011 11:54 AM UTC
Hi Victor,
Thanks for your interest in Syncfusion Products.
You can export the GridGroupingControl to PDF.Please refer the sample from the sample browser from the following location in the machine that has Essential Studio installed:
{Installed Drive}:\Syncfusion\EssentialStudio\{Version Number}\Windows\Grid.Grouping.Windows\Samples\2.0\Export\PDF Export Demo\
Please let us know if you have any concerns.
Regrads,
R.Mahendran.
VE
victor elizondo
March 8, 2011 08:02 PM UTC
Hi Mahendran
I've read about this, and the code to make it mainly is the next one:
GridPDFConverter pdfConvertor = new GridPDFConverter();
pdfConvertor.ExportToPdf("Sample1.pdf", gridbase);
But I've noticed just works for WINDOWSFORM And doesn't works for WEBFORM:
Syncfusion.Web.UI.WebControls.Grid.Grouping.GridGroupingControl
Within the WebForm in C# I could declare a grid of the type below:
Syncfusion.Windows.Forms.Grid.GridControlBase
But I need that works with Syncfusion.Web.UI.WebControls.Grid.Grouping.GridGroupingControl
If you could give me a web code sample that would be gorgeous.
Best Regards.
SN
Sridhar N
Syncfusion Team
March 18, 2011 11:56 AM UTC
Hi Victor,
Thanks for your update.
Currently we do not provide support to feature of 'Exporting GridGroupingControl to PDF'.But, we have planned to implement this feature in any of our future release.
Please let us know if any concerns.
Regards,
Sridhar.N