Unplanned
Last Updated: 08 Apr 2020 09:36 by ADMIN
Pawan
Created on: 08 Apr 2020 09:35
Category: SpellChecker
Type: Bug Report
2
SpellChecker: Settings from IControlSpellChecker.SpellChecker.Settings are not respected if IControlSpellChecker is not RadRichTextBoxSpellChecker

It seems that initializing this property chain:

rtbSpellChecker.SpellChecker.Settings.SpellCheckUppercaseWords = true;

causes the DocumentSpellChecker to be replaced by a new instance.

Workaround: Add an additionally registered RadRichTextBoxSpellChecker:

RadRichTextBoxSpellChecker rtbSpellChecker = new RadRichTextBoxSpellChecker();
rtbSpellChecker.SpellChecker.Settings.SpellCheckUppercaseWords = true;
ControlSpellCheckersManager.RegisterControlSpellChecker(rtbSpellChecker);

0 comments