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

Extra bullet point on saving to database

2 Answers 83 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Craig Mellon
Top achievements
Rank 1
Craig Mellon asked on 31 Aug 2011, 01:38 PM
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).

Thanks,

2 Answers, 1 is accepted

Sort by
0
Craig Mellon
Top achievements
Rank 1
answered on 02 Sep 2011, 09:41 AM

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?

Thanks.


0
Rumen
Telerik team
answered on 02 Sep 2011, 02:10 PM
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)

bold
- 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,
Rumen
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 >>

Tags
Editor
Asked by
Craig Mellon
Top achievements
Rank 1
Answers by
Craig Mellon
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or