;Hello,
I need to get a rtf text from a SQL field and convert it to a normal string.
after this i will convert it again to xml and send it by a soap service.
i'm using the rad editor control to convert from rtf to string using the following code:
But the variable text have html values.... i was expecting pure text content.
Is there a way to convert rtf to normal text?
Best Regards,
Marco
I need to get a rtf text from a SQL field and convert it to a normal string.
after this i will convert it again to xml and send it by a soap service.
i'm using the rad editor control to convert from rtf to string using the following code:
var entity= _container.someting.First();
Telerik.Web.UI.RadEditor editor = new Telerik.Web.UI.RadEditor();
editor.LoadRtfContent(entity.rtfText);
var text = editor.Content.ToString();
But the variable text have html values.... i was expecting pure text content.
Is there a way to convert rtf to normal text?
Best Regards,
Marco