12 Jun 2019 13:13
RichTextBox: InvalidOperationException is thown when importing document containing several ReadOnlyRanges
The exception is thrown in RadDocument.IsInNonEditableRange() method, which is called before measuring the document. When using a format provider, the error is thrown but the document can still be opened in RichTextBox. In binding scenario, the document is not imported.
Workaround: Ensure the document is measured before assigning it to RadRichTextBox.