The problem must be caused by the formatting of the document.
Could you verify that the input is valid HTML and if it is, paste its content, so that we can look into the matter.
On a side note, you should not be declaring HtmlDataProvider in the resources of RadRichTextBox or the user control, but directly in the visual tree as described here.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>