Saving RadEditor Content in Database without HTML tags

2 posts, 0 answers
  1. Manisha Shivjiani
    Manisha Shivjiani avatar
    24 posts
    Member since:
    Nov 2009

    Posted 11 Apr 2012 Link to this post

    I am using Telerik Radcontrols for Ajax version - 2009 Q3

    I would like to know if there a way to save Telerik Radeditor content in db with all formatting but without html tags.

    I know there are content and text property.

    The text property removes all the formatting. I don't want to remove the formatting but at the same time I would like to not save html tags.

    I would appreciate help with this.

  2. Rumen
    Rumen avatar
    14459 posts

    Posted 12 Apr 2012 Link to this post


    RadEditor is an XHTML editor and it could export only plain text, HTML and XHTML content. RadEditor also offer support for PDF and RTF export. Another approach is to use our RichTextBox control for Silverlight/WPF.

    If neither of the above formats are not suitable for your scenario you need to search for and use some third party converter that will convert the XHTML content to the desired output.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top