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

Export Html Tags instead of Style

1 Answer 18 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Sternico
Top achievements
Rank 1
Sternico asked on 15 May 2012, 05:53 PM
We are using HtmlFormatProvider to export the content of a RichTextBox, you can set the styles to be exported Inline instead of creating classes, but, is there a way to export it on Html markup only? 
<i>tag</i>
instead of 
<span style="font-style: italic"> tag</span>
Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Accepted
Mihail
Telerik team
answered on 16 May 2012, 05:50 PM
Hi,

You can export the following tags as HTML markup: <i>, <b>, <u> if you set the ExportFontStylesAsTags property of HtmlExportSettings to True. More about import/export settings you can read here. I hope this answer your question.

Kind regards,
Mihail
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RichTextBox
Asked by
Sternico
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Share this question
or