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

Disable MultiColumn ComboBox from always selecting a value after information is added?

2 Answers 437 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
cuong
Top achievements
Rank 1
cuong asked on 11 Sep 2019, 04:55 PM

The MultiColumn ComboBox is always selecting a value after data is added to it. Is it possible to have it work almost exactly the same as the DropDownList?

 

For i As Integer = 1 To 12

    Me.MultiColumnComboBox1.EditorControl.Rows.Add(i, "Row " & i)

    Me.RadDropDownList1.Items.Add(i)

Next


2 Answers, 1 is accepted

Sort by
0
cuong
Top achievements
Rank 1
answered on 11 Sep 2019, 04:57 PM

Sorry, I forgot to include some extra information.

Why do I want it to behave like the DropDownList and not have anything selected?

Because I use the the event: SelectedIndexChanged to do some extra checking and selection. If the MultiColumnDropdown automatically selects a value, that messes up everything.

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 12 Sep 2019, 12:08 PM
Hello, Cuong,

Note that RadMultiColumnComboBox internally uses a RadGridView for displaying the records in the popup. When a new row is added, it gets selected. This behavior can be controlled by the RadMultiColumnComboBox.EditorControl.MasterTemplate.SelectLastAddedRow property which is set to true by default. If you want to skip the selection changing while adding rows, feel free to set it to false.

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.
Tags
MultiColumn ComboBox
Asked by
cuong
Top achievements
Rank 1
Answers by
cuong
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or