Save RichTextBox data as HTML in backend

2 posts, 0 answers
  1. Rakesh Reddy
    Rakesh Reddy avatar
    1 posts
    Member since:
    Mar 2011

    Posted 28 Mar 2011 Link to this post


    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.
  2. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 29 Mar 2011 Link to this post

    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,
    the Telerik team
Back to Top