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
5368
WebExcelExporter ignoring styles
posted

Sometimes, I need to bind the grid and export it in a button click:

WebDataGrid1.StyleSetName="IG"

WebDataGrid1.datasource=ds

WebDataGrid1.databind()

WebExcelExporter.export(WebDataGrid1)

 

When I do this, the CSS styles are not exported.  Is there some method that I need to use to get the CSS to export?