This is a migrated thread and some comments may be shown as answers.

Strange HTML entities in XLSX export

2 Answers 4 Views
This is a migrated thread and some comments may be shown as answers.
Erick
Top achievements
Rank 2
Erick asked on 08 Jan 2019, 08:54 AM

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 Answers, 1 is accepted

Sort by
0
Erick
Top achievements
Rank 2
answered on 08 Jan 2019, 02:04 PM

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

0
Rumen
Telerik team
answered on 09 Jan 2019, 12:41 PM
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.
Tags
Grid
Asked by
Erick
Top achievements
Rank 2
Answers by
Erick
Top achievements
Rank 2
Rumen
Telerik team
Share this question
or