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

Need full html support

11 Answers 152 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Kyle Watson
Top achievements
Rank 1
Kyle Watson asked on 24 Jan 2011, 08:44 PM
I need full html support and editor capabilities. Does the richtextbox support full html editor import and export? The documentation looks very limiting for html support, is this correct?

11 Answers, 1 is accepted

Sort by
0
Kyle Watson
Top achievements
Rank 1
answered on 25 Jan 2011, 12:51 AM
Let me elaborate.

I need a html wysiwyg for silverlight. And it looks like the RichTextBox supports importing and exporting but is limited on html tags and will obviously likely render the content differently when it exports the html.

Does richtextbox have an html mode? Can I achieve a wysiwyg like editor with some other control of yours? I do like the spell checker.
0
Iva Toteva
Telerik team
answered on 26 Jan 2011, 10:44 AM
Hello Kyle Watson,

Thank you for your feedback about the Spell Checker.
As for your HTML import/ export questions:
RadRichTextBox does not have special modes for HTML or the other formats it supports import from/ export to. You have guessed right that not all HTML documents will be rendered as they appear in a browser when imported, but you can easily test if the rich text box handles correctly sample documents of yours in our demo. On the other hand, the export should produce an output very similar to what you see in the editor.
However, worth noting is, that once imported, the documents will be converted to our internal representation, namely RadDocument. Exporting this should look the same, but on the HTML level, will most probably be very different.

If you have other questions, do not hesitate to contact us again.

Regards,
Iva
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Alain
Top achievements
Rank 1
answered on 01 Feb 2011, 12:13 AM
Hi,

I think Kyle has highlighted an important feature gap within the RadRichTextBox control for Silverlight. If a user wanted an html editor, much like RadEditor for ASP.NET, the RadRichTextBox control could not provide the same functionality.

More specifically, the RadRichTextBox does not have the design/html/preview tab controls that are important for an html WISIWIG editor.

I'm curious to know why Telerik would leave this feature out of RadRichTextBox for Silverlight considering this control superseded RadHTMLEditor. Is Telerik building another control specifically for this purpose? I'm surprised more people don't mention this omission from the RadRichTextBox control.

I myself need a WISIWIG html editor and the RadRichTextBox control does not meet my requirements. I'm now forced to look to other third party providers that can meet my requirements. Something I prefer not to do as I consider Telerik controls and support to be one of the best out there.

Alain
0
Kyle Watson
Top achievements
Rank 1
answered on 01 Feb 2011, 05:25 PM
Telerik had a control dedicated for html editing called RadHtmleditor, but it is now discontinued.
0
Bob
Top achievements
Rank 1
answered on 01 Feb 2011, 08:33 PM
How complex is the HTML? You could always write a script to turn the HTML into the RadDocument. We had to do this for our content that was in Xaml. But yeah, if Telerik had a way to import into RadDocument it would get a lot more sales for sure I would think, instead of making us script.
0
Iva Toteva
Telerik team
answered on 03 Feb 2011, 01:14 PM
Hi all,

Thank you for sharing your opinion of RadRichTextBox and the features you would like to see in this control or your ideas for a new one. We very much appreciate your feedback as active community members.
Back to your specific concerns, you are right that RadRichTextBox cannot be used as an HTML editor, as it does not preserve the HTML that is imported. To my knowledge, there are currently no plans for introducing a new control with the needed functionality, but we might take it up to the management for revision.
With regard to the HTML support, it is being extended on a par with the implemented features in the document model. If you notice any misbehavior regarding the import or export of elements we support in RadDocument, do not hesitate to get back to us with particular samples.

Regards,
Iva
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Alain
Top achievements
Rank 1
answered on 03 Feb 2011, 10:16 PM
Iva,

Thanks for your reply. I would be interested with what management has to say about any changes to your product roadmap that may incorporate html editing within Silverlight as mentioned before.

Seeing that you may never have this feature or at best one day introduce this feature some time down the track, is there a way to incorporate the existing ASP.NET RadEditor control (html editing) into a Silverlight application? If so, can your team produce a working example of such a solution? This could at least get some of the interested Telerik users out there a solution to their problems/requirements.

Regards,
Alain
0
Kyle Watson
Top achievements
Rank 1
answered on 06 Feb 2011, 05:16 PM
That is a good question - can you use the html editor for asp.net in a silverlight application?
0
Iva Toteva
Telerik team
answered on 08 Feb 2011, 02:37 PM
Hi Kyle, Alain,

Using RadEditor for ASP.NET AJAX in a Silverlight application should be possible. We will try to provide a working demo of how that can be done by the end of the week.
If you have other questions, get back to us any time.

Kind regards,
Iva
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Kyle Watson
Top achievements
Rank 1
answered on 13 Feb 2011, 05:24 PM
I have tested out this solution and it works but I am having the following bugs as discussed here:

http://www.telerik.com/community/forums/silverlight/htmlplaceholder/radwindow-html-place-holder-and-asp-net-rad-editor.aspx

Overall, this could be a full alternative if you can get it to work without a couple little quirks. The rad html editor for asp.net is good.
0
Iva Toteva
Telerik team
answered on 14 Feb 2011, 12:12 PM
Hello all,

I am sorry for the delay in providing a sample project illustrating how you can use RadEditor for ASP.NET in a Silverlight application. The control is placed inside of a RadHtmlPlaceholder, just like Kyle has done.
Hope this is what you were looking for. As for the issues Kyle has mentioned, they will be addressed in the forum thread for RadHtmlPlaceholder where he has posted them.

Best wishes,
Iva
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
RichTextBox
Asked by
Kyle Watson
Top achievements
Rank 1
Answers by
Kyle Watson
Top achievements
Rank 1
Iva Toteva
Telerik team
Alain
Top achievements
Rank 1
Bob
Top achievements
Rank 1
Share this question
or