OK,
What I thought would be simple is beginning to trouble me. I've read the documentation and what I gather is that you load / import the HTML formatted text into a RadDocument and then set the RadRichTextBox Document property to equal that of the RadDocument you created.
Here is my simple code.
(This code works, but what I see is not the formatted text FROM the HTML string, but I'm just seeing the HTML string itself)... (Please Help)
As I said, this compiles but instead of me seeing the formatted view, all that comes up is the Actual HTML code.
Thanks and I hope someone can help,
Cedric
What I thought would be simple is beginning to trouble me. I've read the documentation and what I gather is that you load / import the HTML formatted text into a RadDocument and then set the RadRichTextBox Document property to equal that of the RadDocument you created.
Here is my simple code.
(This code works, but what I see is not the formatted text FROM the HTML string, but I'm just seeing the HTML string itself)... (Please Help)
//HTML Import
HtmlFormatProvider msgHTML =
new
HtmlFormatProvider();
RadDocument tempDoc = msgHTML.Import(
this
.scMsg.messageText.ToString());
this
.msgContent.Document = tempDoc;
// msgContent is the instance of RadRichTextBox
As I said, this compiles but instead of me seeing the formatted view, all that comes up is the Actual HTML code.
Thanks and I hope someone can help,
Cedric