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