20 Jan 2020 14:47
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.