Unplanned
Last Updated: 12 Jun 2018 11:10 by ADMIN
ADMIN
Boby
Created on: 12 Jun 2018 11:10
Category: RichTextBox
Type: Bug Report
1
RichTextBox: Some methods of RadRichTextBox/RadDocumentEditor do not work if document is not measured and arranged
Some of the methods in RadDocumentEditor/RadRichTextBox call RadDocument.EnsureDocumentMeasuredAndArranged(), but some don't, for example:

- InsertAnnotationRange
- InsertLine
- ChangeAllFieldsDisplayMode

This causes exceptions or incorrect behavior what layout is not performed on the document.

Workaround: Call EnsureDocumentMeasuredAndArranged before the problematic methods.
0 comments