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?

  • 7499
    posted

    Hello Rob,

    "EnableStylesExport" property of the WebExcelExporter needs to be  set to true to export the styles. I suggest you to check if this property is set to true or not.

    Please let me know if you have any questions regarding this matter.

     

  • 7499
    posted

    Dear Rob,

    Thank you for contacting Infragistics!

    We received your support request concerning WebExcelExporter ignoring styles, and this case has been assigned to me. Infragistics is dedicated to helping you solve this issue.

    I am looking into this issue and will get back to you by the end of the day tomorrow with more information or questions for you.