Gerarchic RadComboBox

2 posts, 0 answers
  1. Ciupaz
    Ciupaz avatar
    47 posts
    Member since:
    Jun 2020

    Posted 10 Jul Link to this post


    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.


  2. Peter Milchev
    Peter Milchev avatar
    858 posts

    Posted 14 Jul Link to this post

    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.

    Peter Milchev
    Progress Telerik

Back to Top