Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
Binding RTF to WebHtmlEditor
posted

Hi,

I have a database which contains files saved in RTF. Is it possible to bind the RTF text programaticly to the WebHtmlEditor or any other control. I need only to display the text with the formating there will be no editing from the client's side.

Parents
No Data
Reply
  • 45049
    Verified Answer
    posted

    WebHtmlEditor reads HTML.  It has no functionality to translate to or from RTF format.

    If you have some method that provides the raw, unformatted text from RTF input, you can set the Text property of WebHtmlEditor to that value.  This will give you unformatted text.

    Likewise, if you have some method that translates RTF input into HTML output, including translating how the formatting is applied, then you can set the Text property of WebHtmlEditor to that value.  This will give you formatted text.

Children