Completed
Last Updated: 21 Mar 2019 15:08 by ADMIN
Release 2019.1.318 (03/18/2019)
Peter
Created on: 07 Mar 2019 11:50
Category: MultiColumnCombo
Type: Bug Report
1
RadMultiColumnCombobox: MultiColumnComboBox clears selection when leaving the control if filtering was used

1. Run the project and press "a" in the editable part of RadMultiColumnCombobox.

2. Press Tab. As a result you will notice that no selection will be available. If you run the project with a version prior to R2 2018 (version 2018.2.515), the selection will be kept.

Attached Files:
2 comments
Dimitar
Posted on: 21 Mar 2019 14:01
Hello, 
 
A Fix is available in LIB Version 2019.1.318 released on March 18th.

Best regards, 
Dimitar
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 07 Mar 2019 12:09
Hello, Peter, 

Thank your for reporting this issue. 

I have also updated your Telerik points.

Currently, the possible solution that I can suggest is to manage the selection when the control loses focus: 

    this.radMultiColumnComboBox1.LostFocus += radMultiColumnComboBox1_LostFocus;
 
 
private void radMultiColumnComboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
    if (this.radMultiColumnComboBox1.Tag == null)
    {
        return;
    }
    int index = (int)this.radMultiColumnComboBox1.Tag;
    if (this.radMultiColumnComboBox1.SelectedIndex == -1 || index != this.radMultiColumnComboBox1.SelectedIndex)
    {
        this.radMultiColumnComboBox1.SelectedIndexChanged -= radMultiColumnComboBox1_SelectedIndexChanged;
        this.radMultiColumnComboBox1.SelectedIndex = index;
        this.radMultiColumnComboBox1.Tag = null;
    }
}
 
private void radMultiColumnComboBox1_LostFocus(object sender, EventArgs e)
{
    if (this.radMultiColumnComboBox1.EditorControl.CurrentRow != null)
    {
        this.radMultiColumnComboBox1.Tag = this.radMultiColumnComboBox1.SelectedIndex;
        this.radMultiColumnComboBox1.SelectedIndex = this.radMultiColumnComboBox1.EditorControl.CurrentRow.Index;
        this.radMultiColumnComboBox1.SelectedIndexChanged += radMultiColumnComboBox1_SelectedIndexChanged;
    }
}

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.