Poomjai
Poomjai

Reputation: 51

How to use ASP .NET dropdown with ajax

Greeting,

I'm beginer of ajax technology and now i need to create two dropdown in MVC project for example:

First dropdown has the list of classroom [601,602,603] when i choose one then next dropdown will has the list of student belong to each class room.

Now, I already create the repository class that has method GetStudentByClassroomName() and already connect to the database.

Can anyone give me a suggestion how to create it or any technology to create the dropdown like this?

Thank you very much ^_^

Upvotes: 2

Views: 547

Answers (2)

Johannes Setiabudi
Johannes Setiabudi

Reputation: 2077

Look here - similar problem (cascading drop down)

Upvotes: 1

DavRob60
DavRob60

Reputation: 3557

check the CascadingDropDown from the ajaxcontroltoolkit.

http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/CascadingDropDown/CascadingDropDown.aspx

Upvotes: 0

Related Questions