Use the RichTextEditor to edit the source?

3 posts, 1 answers
  1. Eric Moreau
    Eric Moreau avatar
    48 posts
    Member since:
    Sep 2007

    Posted 29 Jun Link to this post

    Hi

    Is it possible to use the RichTextEditor (in WinForms) to edit the source/the formatting of the rich text? Much like the HTML view of the comparable ASP.Net control? 

    There are sometimes when it is hard to understand why some formatting are applied specially when doing copy-and-paste.

    I found the ToggleFormattingSymbolsCommand but while it is showing some code, it doesn't show them all and doesn't make the editing easier.

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    2907 posts

    Posted 02 Jul Link to this post

    Hi Eric,

    Yes, this is possible by using the format providers. I have attached a small example that shows how this works. 

    I hope this helps. Should you have any other questions do not hesitate to ask.

    Regards,
    Dimitar
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
  3. Eric Moreau
    Eric Moreau avatar
    48 posts
    Member since:
    Sep 2007

    Posted 02 Jul in reply to Dimitar Link to this post

    Thanks Dimitar. That is working for me.
Back to Top