RTF Data Export to plain text

4 posts, 1 answers
  1. Ruchi
    Ruchi avatar
    54 posts
    Member since:
    Apr 2012

    Posted 12 Sep 2013 Link to this post


    Hello Team,

    I am working on one Telerik silverlight application, Where i have some data in RTF formate and need to export the data to the plain text.
    code is as below:

     Telerik.Windows.Controls.RadRichTextBox richText = new Telerik.Windows.Controls.RadRichTextBox();
      richText.Document =
    new Telerik.Windows.Documents.FormatProviders.Rtf.RtfFormatProvider().Import(value.ToString());
      CObject =
    new Telerik.Windows.Documents.FormatProviders.Txt.TxtFormatProvider().Export(richText.Document);

    It works perfect when i am working on local, but after deploying the application on server. it displays RTF data as it is instead of exporting it to the plain text.

    can any one please guide me for the same?

    Thanks and Regards,
    Ruchi Patel
  2. Ruchi
    Ruchi avatar
    54 posts
    Member since:
    Apr 2012

    Posted 17 Sep 2013 Link to this post

    Helllo,

    I got the solution, I need to place all the Dlls related to "Telerik.Windows.Documents".

    Thank and regards,
    Ruchi Patel
  3. DevCraft banner
  4. Answer
    Petya
    Admin
    Petya avatar
    975 posts

    Posted 17 Sep 2013 Link to this post

    Hi Ruchi Patel,

    Please note that we do not recommend using the assemblies from the RadControls for Silverlight suite for server-side document conversion. Instead, I'd suggest you use the WPF assemblies and invoke the converting functionality using services from the Silverlight client. 

    Let us know if you have further questions or comments.

    Regards,
    Petya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  5. Ruchi
    Ruchi avatar
    54 posts
    Member since:
    Apr 2012

    Posted 18 Sep 2013 Link to this post

    Hello Petya,

    Thank you for the guidance.

    Thanks and Regards,
    Ruchi Patel


Back to Top