This is a migrated thread and some comments may be shown as answers.

Strip Formatting Tags

2 Answers 116 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Tim asked on 30 Sep 2020, 12:48 PM

I'm using the Editor for a Notes field on a website. The notes field in the database table is being copied to a separate (Data Warehouse) database table for analysis. Is there any way to call a method in Telerik code via C#, that would return the notes without formatting?

Thanks

2 Answers, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 05 Oct 2020, 11:51 AM

Hi Tim,

I am afraid there is no built-in functionality that will strip the HTML tags from the message. You may need to implement additional logic for that.

Here is one approach you can try: Strip Html

Regards,
Attila Antal
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

0
Tim
Top achievements
Rank 3
Iron
Iron
Iron
answered on 06 Oct 2020, 10:12 AM
I'll take a look at that. Thanks.
Tags
Editor
Asked by
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Attila Antal
Telerik team
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Share this question
or