Completed
Last Updated: 27 Jul 2015 11:26 by ADMIN
ADMIN
Hristo
Created on: 01 Jul 2015 14:44
Category: RichTextEditor
Type: Bug Report
0
FIX. RichTextEditorRibbonBar - spellcheck button is not updated when RadRichTextEditor.IsSpellCheckingEnabled is changed
Workaround use the following code to programatically toggle the spell check mode: 

RadRibbonBarGroup spellCheckGroup = ((RibbonTab)richTextEditorRibbonBar1.CommandTabs[0]).Items[3] as RadRibbonBarGroup;
RadToggleButtonElement toggleButton = spellCheckGroup.Items[1] as RadToggleButtonElement;
if (this.radRichTextEditor1.IsSpellCheckingEnabled)
{
    toggleButton.CheckState = CheckState.Unchecked;
}
else
{
    toggleButton.CheckState = CheckState.Checked;
}
0 comments