Completed
Last Updated: 14 Jul 2023 07:27 by ADMIN
Release R2 2023 SP1
James
Created on: 19 Jun 2023 07:17
Category: RichTextBox
Type: Bug Report
1
RichTextBox: NullReferenceException when changing themes, the RichTextBox has TrackChanges enabled, and the current user is set

NullReferenceException when changing themes, the RichTextBox has TrackChanges enabled, and the current user is set.

Workaround: set empty user like this: 

private void RadRichTextBox_ProtectionStateChanged(object sender, EventArgs e)
{
    if (this.radRichTextBox.CurrentUser == null)
    {
        this.radRichTextBox.CurrentUser = new Telerik.Windows.Documents.Model.UserInfo(string.Empty, string.Empty, string.Empty, string.Empty);
    }
}

0 comments