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

RTF Format was not coming correctly what we have in Rad Editor

3 Answers 162 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Harish
Top achievements
Rank 1
Harish asked on 30 Aug 2010, 04:00 PM
Hi Team,

While Saving Rad Editor Content as a RTF the content Format was changing (ex: Center alignment wast not coming, Underline)

i was also checked with the Telerik site , there also format was not coming correctly.

I'm Saving the Rad Editor content as RTF into database. while Retrieving the RTF from Database and loding into Rad Editor on that time i'm getting the content with the Question Mark Symbols and alignment was not coming correctly.

Please give the solution as soon as possible.

Regards,
Harish

3 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 01 Sep 2010, 12:19 PM
Hi Harish,

RadEditor is using third party tools to provide XHTMLtoRTF and RTFtoXHTML conversions which have some restrictions and limitations. We are aware of the reported issues and are working on fixing them. Unfortunately, at present, I am unable to provide a suitable workarounds for these problems.

Please excuse us for the inconvenience.

Best wishes,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Daniel Knoll
Top achievements
Rank 1
answered on 08 Apr 2011, 12:01 PM
Hello,

how is the status on the rendering problems. We also have some issues, where we save the RTF-Text to the database and some other tools are using the RTF-text in their own solutions. What does NOT seem to work is for instance the vertical alignment of the unordered list items (the identations are changing quite unexpectedly and also sub-list-items are a tricky thing where the indentation is changing.

Our goal: produce the same RTF-text as Wordpad does, can we achive this and if it's possible, how can we do this? Are there any know workarounds (a customer of ours wants to enter his own RTF-text-fragments)

We have bought the newest version of the tools a few weeks ago (mainly for addressing RTF issues) and now it's a bit frustrating to see the results of the RTF conversion.

best regards
David
0
Dobromir
Telerik team
answered on 12 Apr 2011, 10:15 AM
Hi David,

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
images- unsupported
indentations - supported

You can see the following video which demonstrates how the RTF import and export features work:
http://screencast.com/t/7ag9iDfqpZ.

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 I could not provide an exact estimate when the issues will be fixed. I have escalated the problems to the attention of our lead developers and they will consider increasing the priority of these bugs to high for the next Q1 2011 release.

You should also note that good RTF import and export tools are very expensive and if we integrate such tools in RadEditor, the price of the Telerik suite will be increased a lot. That is why if you are currently not satisfied with the offered by RadEditor RTF functionality, you can 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.

Greetings,
Dobromir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Editor
Asked by
Harish
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Daniel Knoll
Top achievements
Rank 1
Share this question
or