How to auto populate a second dropdown list from a previous selection on the first dropdown list?

Im trying to create a form that will have several dropdown lists. When a user chooses and option on the first dropdown list, it will populate the second dropdown with options related to the selection on the first dropdown list. Im new to .net and I dont know how to go about it.
Who is Participating?
Tapan PattanaikConnect With a Mentor Senior EngineerCommented:
hi jhsit,

           Use ASP.NET AJAX CascadingDropDown Control Extender. Check the below link which describes about that.

Here is a video tutorial for AJAX CascadingDropDown Control Extender

Key is to use SelectedIndexChanged event on first DropDownList and appropriately binding the next DDL..
See this example:
HI There,

I would try to steer away from using MS ajax in my applications if I were you. The library is massive and adds to much weight and code to your page.

What you need can be achieved using a javascript framework like ( Here is a sample of dependant dropdowns that can be adapted to what you're doing. 

There are also more samples on the web or if need be I can help you with some basic code.

jhsitAuthor Commented:
Awesome Website-- It was more than I was looking for.. thanks!!!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.