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

Always the first record is selected

1 Answer 70 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Surya
Top achievements
Rank 1
Surya asked on 04 Aug 2017, 04:30 PM

Hi,

 I am experiencing problem with latest controls ( version : 2017.2.613.40 ) . When I open multi column drop down ,its selecting first item which is causing problem in my case , it happens when i open drop down pragmatically using code :  this.MultiColumnComboBoxElement.ShowPopup().

 

Please advise asap.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 07 Aug 2017, 08:03 AM
Hello Surya,

You can set the selected item to null before showing the popup or after binding the control:
private void radButton1_Click(object sender, EventArgs e)
{
    this.radMultiColumnComboBox1.SelectedItem = null;
    this.radMultiColumnComboBox1.MultiColumnComboBoxElement.ShowPopup();
}

On my side, the first item is only selected when the control is bound to the data source.

I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
MultiColumn ComboBox
Asked by
Surya
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or