Radeditor content export to excel

2 posts, 0 answers
  1. Gayatri
    Gayatri avatar
    1 posts
    Member since:
    Oct 2014

    Posted 06 Nov 2014 Link to this post

    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
  2. Ianko
    Ianko avatar
    1899 posts

    Posted 10 Nov 2014 Link to this post

    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.


    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.

Back to Top