Does anyone trying to append programmatically some text at the end of an existing RadDocument?
This part of code doesen't works well:
Telerik.WinControls.RichTextBox.FormatProviders.IDocumentFormatProvider p = new Telerik.WinControls.RichTextBox.FileFormats.Html.HtmlFormatProvider();
Telerik.WinControls.RichTextBox.Model.RadDocument document = p.Import(System.Text.Encoding.UTF8.GetBytes(pBody));
In your code you are instantiating a provider (named document) and trying to insert a text in it. The correct approach is to have the import the context via the provider to a document and then use the document to add your text. Attached you can find a sample application demonstrating this approach.
I hope that you find this information useful. Let me know if I can be of further assistance.