Strange HTML entities in XLSX export

3 posts, 0 answers
  1. Erick
    Erick avatar
    81 posts
    Member since:
    Feb 2010

    Posted 08 Jan Link to this post

    Hi,

    Since sort time we've moved to XLSX export format of all of our grids but found some strange behavior when exporting data with centriage return (and some of this kind of data). Please see the attachment.

    I've debugged the data while exporting, and it seems it is still correct without strange 
 html entities.

    Known issue?

    Kind regards,

    Jelle

     

  2. Erick
    Erick avatar
    81 posts
    Member since:
    Feb 2010

    Posted 08 Jan Link to this post

    Hi,

    Just found the cause of this issue.
    When binding dataset to grid, i'm encoding all data of the first page of the grid to prevent stored XSS attacks. But this encoding is executed while exporting as well. Fixed by me.

    Kind regards,

    Jelle

  3. Rumen
    Admin
    Rumen avatar
    13945 posts

    Posted 09 Jan Link to this post

    Glad that everything is fine now.

    Thank you for sharing the scenario and the solution, Jelle! This is much appreciated!

    Regards,
    Rumen
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top