How do you bind RTF file in RichTextBox

2 posts, 0 answers
  1. Bylar
    Bylar avatar
    8 posts
    Member since:
    Jul 2012

    Posted 11 Jan 2012 Link to this post

    I want to set the rtf file from server and retrieve it in code.  Just don't understand the code .

    Any help would be appreciated.

  2. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 12 Jan 2012 Link to this post

    Hi Bryan,

    RadRichTextBox uses format providers in order to open and save documents in different formats. There are also data providers built on top of some of the format providers in order to provide the means for data-binding. 
    There are examples showing how the providers can be used with documents stored on the server in this forum post. Both examples use RIA services; the difference is that the RiaPersistingInOpenXML demo uses DocxFormatProvider in order to save the documents in docx format and the other sample uses a data provider.

    All the best,
    Iva Toteva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top