Completed
Last Updated: 28 May 2015 13:07 by ADMIN
ADMIN
Peter
Created on: 15 Apr 2015 07:03
Category: MultiColumnCombo
Type: Bug Report
0
FIX. RadMultiColumnComboBox - the SelectedIndexChanged event is fired when open the popup and already set the SelectedIndex to -1
Workaround:
Cancel CurrentRowChanging event if Text is empty:
        this.radMultiColumnComboBox1.EditorControl.CurrentRowChanging += EditorControl_CurrentRowChanging;
        void EditorControl_CurrentRowChanging(object sender, Telerik.WinControls.UI.CurrentRowChangingEventArgs e)
        {
            e.Cancel = string.IsNullOrEmpty(this.radMultiColumnComboBox1.Text) && this.radMultiColumnComboBox1.MultiColumnComboBoxElement.ArrowButton.IsPressed;
        }
0 comments