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

Combobox filtered by the selected value of another combobox in the same grid

1 Answer 96 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Silvina P.
Top achievements
Rank 1
Silvina P. asked on 14 Jan 2010, 07:07 PM
Hello,
I can't find an example of how to implement a combobox that is filtered by the selected value of another combobox. I have a grid that needs to display Country - City. I have a country table (CountryID - Name) and a City table (CityID-Name - CountryID). I'm binding the first combobox to the country table and the other to the city table. How can I get the city comobobox to display only the cities based on the country that the user selected?

Thanks!
Silvina.

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 15 Jan 2010, 09:26 AM
Hi Silvina P.,

I have attached a small sample project. It demonstrates a similar scenario - on selecting a Continent , a second combo is populated with the Countries in the selected Continent.

Let me know if you find troubles adapting this approach to your project.

Best wishes,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Silvina P.
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or