I have the following rich text string set in a microsoft rich text box in a winforms app ... simple bulleted list of 2 lines.
{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}{\f1\fnil\fcharset0 Verdana;}{\f2\fnil\fcharset2 Symbol;}}
\viewkind4\uc1\pard{\pntext\f2\'B7\tab}{\*\pn\pnlvlblt\pnf2\pnindent0{\pntxtb\'B7}}\ltrpar\sl240\slmult1\f0\fs18 bullet item 1\f1\fs20
\par \f0\fs18{\pntext\f2\'B7\tab}bullet item 2\f1\fs20
\par }
I run that through this formatting process:
//convert from RTF to HTML
RtfFormatProvider rtfProvider =
new
RtfFormatProvider();
HtmlFormatProvider htmlProvider =
new
HtmlFormatProvider();
RadFlowDocument document = rtfProvider.Import(richText);
RadEditorRichTextLabNote.Content = htmlProvider.Export(document);
I end up with the two lines of text but the bulleted part is gone.
Going from HTML back to RTF also loses the bulleted list.
See the screenshots below of how the winforms application shows the rich text vs the asp.net radeditor.
Please advise. Thanks
Sean