Does anyone trying to append programmatically some text at the end of an existing RadDocument?
This part of code doesen't works well:
The text was appended at the end of the first word of the document.
Anyone could help me?
Thanks
Francesco
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));
document.CaretPosition.MoveToLastPositionInDocument();
document.InsertLineBreak();
document.Insert(pNote, style);
The text was appended at the end of the first word of the document.
Anyone could help me?
Thanks
Francesco