This is a migrated thread and some comments may be shown as answers.

RadMultiColumnCombobox - AutoFiter does't work right when i press Shift + Tab

2 Answers 84 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Exclamation
Top achievements
Rank 1
Exclamation asked on 27 Jun 2012, 04:35 AM
Hi, Telerik team .
I using Telerik control winform Q1 2012
I set my RadMultiColumnComboBox with AutoFilter property is True.
And i set TabIndex of them as my picture in Attach file.
Then i select one value of RMCCombobox 1. Next i focus in RMCCombobox 2 .The next step i Press Shift + Tab to focus in RMCCombobox 1. Now, RMCCombobox 1 auto open popup and filter with value is current text of it. it wrongs,Behavior must be just focus in RMCCombobox 1.
Are you have any idea for my problem?
Thanks for reading.

2 Answers, 1 is accepted

Sort by
0
Accepted
Svett
Telerik team
answered on 29 Jun 2012, 01:21 PM
Hello Thanh,

Thank you for writing.

I managed to reproduce the issue and I added it to our public issue tracking system. We will address it in a future release.

In the meantime, you should create a custom multicombo box control to address the issue:
public class CustomMCCB : RadMultiColumnComboBox
{
    public override string ThemeClassName
    {
        get
        {
            return typeof(RadMultiColumnComboBox).FullName;
        }
        set
        {
            base.ThemeClassName = value;
        }
    }
 
    protected override RadMultiColumnComboBoxElement CreateMultiColumnComboBoxElement()
    {
        return new CustomMCCBElement();
    }
}
 
public class CustomMCCBElement : RadMultiColumnComboBoxElement
{
    protected override Type ThemeEffectiveType
    {
        get
        {
            return typeof(RadMultiColumnComboBoxElement);
        }
    }
 
    protected override void ProcessTextKeyUp(object sender, System.Windows.Forms.KeyEventArgs e)
    {
        if (e.KeyCode == Keys.Tab ||
            e.KeyCode == (Keys.Tab | Keys.Shift) || e.KeyCode == Keys.ShiftKey)
        {
            return;
        }
 
        base.ProcessTextKeyUp(sender, e);
    }
}

I updated your Telerik points.

Greetings,
Svett
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Exclamation
Top achievements
Rank 1
answered on 30 Jun 2012, 01:30 AM
Hi , Svett.
OK, It' s work
Thank you very much.
Tags
MultiColumn ComboBox
Asked by
Exclamation
Top achievements
Rank 1
Answers by
Svett
Telerik team
Exclamation
Top achievements
Rank 1
Share this question
or