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

Save RichTextBox data as HTML in backend

1 Answer 99 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Rakesh Reddy
Top achievements
Rank 1
Rakesh Reddy asked on 28 Mar 2011, 02:27 PM
Hi,

I am using visual studio 2010, sliverlight 4 and telerik Q1 2011.
 I am using RichTextBox as my email Body in my silverlight Project.
I want the user to enter the data in Richtext box and provide him the functionality to format it as HTML.
Also i want to save the data as html in backend.
Previously we used RadEditor for this purpose, but now our client wants us to migrate to  new version of telerik.
In the current version RadEditor is obsolete.
Can you please provide me an example for storing the data to backend as html and binding it back to the RichTextbox.

Thanks and Regards,
Rakesh Reddy K.

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 29 Mar 2011, 10:27 AM
Hi Rakesh Reddy,

There is a demo of RadRichTextBox and WCF RIA services in this forum thread (the last post).
Data-binding is achieved with the help of data providers - HTML, XAML or the recently introduced RTF. The approach with all of them is pretty much the same, so you should not meet any difficulties adapting the demo to use HtmlDataProvider instead of XamlDataProvider.

Kind regards,
Iva
the Telerik team
Tags
RichTextBox
Asked by
Rakesh Reddy
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or