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
Petar, I believe he was referring to the WebDataGrid.
I am curious about the response, because I am having a very difficult time with styles and the WebExcelExporter and WebDocumentExporter. I use the built-in StyleSets using the StyleSetName to apply the style to the grid. In most cases, the Excel spreadsheet comes out with no styling at all.
Is it possible that using the CDN could be interfering with the exporters being able to read the styles?
Hi all,
My apologies for the previous misconception.
Generally speaking the built in stylesets should be exported in PDF and Excel. Modifying the styleset existing properties to set for instance text-alignment should be reflected in the exported file. The same would apply for setting the grid's font to bold from the designer. However adding new properties or using custom CSS may not be exported.
Please contact me if you have any questions or need assistance with exporting in a particular scenario.