Completed
Last Updated: 29 Feb 2016 10:17 by ADMIN
ADMIN
Dimitar
Created on: 26 Feb 2016 11:08
Category: RichTextEditor
Type: Bug Report
1
FIX. RichTextEditorRibbonBar - exception when no font is selected.
To reproduce:
1 Please change the font via selection list first.
2 Set text cursor to font input field and select the whole text (if not already done).
3 Press backspace or delete key.
4 An error message appears.

Workaround:
protected override void DropDownListFont_SelectedIndexChanged(object sender, PositionChangedEventArgs e)
{
    var ddl = sender as RadDropDownListElement;
    if (ddl.SelectedItem != null)
    {
        base.DropDownListFont_SelectedIndexChanged(sender, e);
    }
}
0 comments