This is a migrated thread and some comments may be shown as answers.
Radeditor content export to excel
1 Answer 12 Views
This is a migrated thread and some comments may be shown as answers.
Gayatri
Top achievements
Rank 1
Gayatri asked on 06 Nov 2014, 11:08 AM
I am saving the content of RadEditor in database and then exporting this content to excel.
For example say content with HTML tags is - <strong>Hello <span style="background-color: #c3d69b;">World</span></strong>

Is there any other way I can make excel understand that instead of displaying "<strong>Hello <span style="background-color: #c3d69b;">World</span></strong>" in the cell we need to display - "Hello World" (World with background color)

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 10 Nov 2014, 09:36 AM
Hi Gayatri,

I can only assume how the sample HTML is exported to Excel table, the RadEditor does not provide a built-in functionality to do that.

If a third-party tool or library is used to translate HTML to MS Excel file, the required behavior depends on this library and the markup should correspond to the way the HTML is being translated.

On a side note, in case third-party library for HTML translation is used, you can try if exporting a proper HTML table, not a string tag, achieve better results.

Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Asked by
Gayatri
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or