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

Display HTML in text plain

1 Answer 103 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Nelson
Top achievements
Rank 1
Nelson asked on 14 Jun 2011, 09:56 AM
Hi telerik team,

Is possible open a HTML file and display HTML in text plain, with all tags of HTML language?

Thanks in advance,

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivailo Karamanolev
Telerik team
answered on 14 Jun 2011, 09:59 AM
Hello Nelson,

By using the HtmlFormatProvider (or HtmlDataProvider if you are using data binding) all tags are parsed and the text is formatted. If you use TxtFormatProvider or TxtDataProvider instead, the document will be shown in its plain text form, i.e. with all tags in plain text.

Regards,
Ivailo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
RichTextBox
Asked by
Nelson
Top achievements
Rank 1
Answers by
Ivailo Karamanolev
Telerik team
Share this question
or