Extra bullet point on saving to database

3 posts, 0 answers
  1. Craig Mellon
    Craig Mellon avatar
    53 posts
    Member since:
    May 2005

    Posted 31 Aug 2011 Link to this post

    A simple web app following your demo here: http://demos.telerik.com/aspnet-ajax/editor/examples/rtfexport/defaultvb.aspx

    Each time I save to database and retrieve it back into the editor an extra bullet point as appeared...I have tried turning off all content filters and different ones at a time but it makes no difference.

    Any idea why this happening and a solution to it? (Q2 2011).

  2. Craig Mellon
    Craig Mellon avatar
    53 posts
    Member since:
    May 2005

    Posted 02 Sep 2011 Link to this post

    When I export the RTF from the editor to a file it is formatted correctly, if I open this RTF in notepad the ansi code is exactly the same as the ansi code getting saved to the database field, which suggests the problem is when I'm retrieving the data back from SQL into the editor; It is adding an extra bullet point to bullet lists and taking spacing out between words in sentances.

    Could you please let me know any steps I can do to resolve this?


  3. DevCraft R3 2016 release webinar banner
  4. Rumen
    Rumen avatar
    12788 posts

    Posted 02 Sep 2011 Link to this post

    Hello Craig,

    Thank you for reporting this problem.

    I logged it for investigation in our PITS system. Here you can find the PITS Issue: Public URL.

    The information below could be also useful for your scenario:

    RadEditor uses two different free libraries to provide Import to RTF and Export to RTF features.

    The first one used to provide RFT to HTML importation is available in this CodeProject's article: http://www.codeproject.com/KB/recipes/RtfConverter.aspx.
    The library used for HTML to RTF exportation is available here http://www.codeproject.com/KB/recipes/RtfConverter.aspx.
    As you can see both libraries are written by different developers and they are not fully compatible with each other.

    For your convenience I prepared a list of know limitations of the Import and Export features of both libraries:

    RFT to HTML (Import)

    - supported. I was able to export bold formatting from the provided by you Bold.rtf file.
    italic - supported
    underline - supported
    foreground and background colors - supported
    table elements - unsupported
    images- unsupported
    indentations - unsupported

    HTML to RTF (export)

    bold - supported.
    italic - supported
    underline - unsupported
    foreground and background colors - unsupported
    table elements - partially supported - table borders are not exported
    images- unsupported
    indentations - supported
    font family and size - unsupported

    The unsupported scenarios are hard for development and require more time for implementations and testing. Our development is concentrated currently on producing valid XHTML content and the import and export problems are logged with medium priority in our ToDo list. That is why we could not provide firm estimate for when the unsupported features will be available.

    Please note that good RTF import and export tools are very expensive. If you are currently unsatisfied with the offered by RadEditor RTF functionality, you could search in Internet for another free or paid RTF to HTML importation and HTML to RTF exportation tools and we will help you to integrate them with RadEditor.

    Kind regards,
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top