Grid is successfully exported to pdf and excel file.but it ignore all css class.
Hi miglage,
Thank you for posting in the community.
Please note that the UltraWebGridExporters carry only the styling set explicitly in the markup or code-behind into the exported file. Therefore in order to get the desired look and feel in the epoxrted file I would suggest that you style the grid either from the markup or serverside before exporting.
The UltraWebGrid control (along with the exporting controls) is now outdated and as of .NetAdvantage 2011 Volume 2 is no longer included in our product package. I would suggest that you consider switching to the WebDataGrid/WebHieararchicalDataGrid. More information regarding these controls is available at:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_WebDataGrid_WebDataGrid.html
Additional samples demonstrating the features of these grids can be found at:http://samples.infragistics.com/aspnet/
Please let me know if you have any questions.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support
Hi,
I am using Infragistic 10.3 version with "NetAdvantage_ASPNETWithSamplesAndHelp_20103"
and “NetAdvantage_ASPNET_20103.2120_SR”.
When I was trying to export data from WebDataGrid to PDF in landscape style, it always shows in Portrait style.
I am binding data to WebDataGrid from a Webservice call.
I saw some blogs related to it but nowhere I found any solution.
http://forums.infragistics.com/forums/t/57087.aspx
http://community.infragistics.com/aspnet/articles/webdatagrid-import-data-from-excel-amp-export-to-excel-pdf-or-xps.aspx
Here is my code for Export Button Click event
this.dExporter.DownloadName = "ExportHoganAccountsPDF";
this.dExporter.Format = Infragistics.Web.UI.GridControls.FileFormat.PDF;
this.dExporter.TargetPaperOrientation = PageOrientation.Landscape;
this.dExporter.TargetPaperSize = PageSizes.Legal;
this.dExporter.Export(this.wHoganAcctDataGrid);
Thanks
Tapan
Email : rtapankm@gmail.com
Hi rtapankm,
This problem with landscape was reported. I think it should be fixed in a later Service Release. Could you try to download the last one and see if it is resolved?
regards,David Young