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

Gerarchic RadComboBox

1 Answer 77 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ciupaz
Top achievements
Rank 2
Veteran
Ciupaz asked on 10 Jul 2020, 08:42 PM

Hello,

I have 2 RadComboBox.

The first One Is enabled on Page load and shows States, with Checkboxes=true.

Here the user can select one or more States.

The second RadComboBox Is not enabled by default, and became enabled when the user select at least one state in the first combobox.

This combobox should display cities of the states selected in the first combobox.

What Is the best approach (better with examples) to implement this?

Thank you.

Luis

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 14 Jul 2020, 02:06 PM

Hello Luis,

This demo shows how to implement Cascading ComboBoxes:

If you have multiple selection, you might need to modify the LoadCountries to accept a collection of values and populate the data based on the multiple values, not a single value.

Also, you can conditionally set the Enabled property of the child ComboBoxes to true of false based on the count of selected items of the parent.

Regards,
Peter Milchev
Progress Telerik

Tags
ComboBox
Asked by
Ciupaz
Top achievements
Rank 2
Veteran
Answers by
Peter Milchev
Telerik team
Share this question
or