Completed
Last Updated: 09 Aug 2016 10:07 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 25 Jul 2016 08:22
Category: Editors
Type: Bug Report
1
FIX. RadSpellChecker - ArgumentOutOfRangeException when incorrect word is deleted from RadTextBox and an item is selected from the context menu
Please refer to the attached gif file demonstrating how to reproduce the problem.

Workaround: close the popup when pressing Backspace:

 this.radTextBox1.TextBoxElement.TextBoxItem.TextBoxControl.KeyDown+=TextBoxControl_KeyDown;
private void TextBoxControl_KeyDown(object sender, KeyEventArgs e)
{
    if (e.KeyData== Keys.Back)
    {
        TextBoxSpellChecker textBoxSpellChecker = _radSpellChecker.GetControlSpellChecker(typeof(RadTextBox)) as TextBoxSpellChecker;
        if (textBoxSpellChecker!=null)
        {
            textBoxSpellChecker.DropDownMenu.ClosePopup(RadPopupCloseReason.Keyboard);
        }
    }
}
Attached Files:
0 comments