开发者

How to use ASP .NET dropdown with ajax

开发者 https://www.devze.com 2022-12-23 02:49 出处:网络
Greeting, I\'m beginer of ajax technology and now i need to create two dropdown in MVC project for example:

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 e开发者_StackOverflow中文版ach 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 ^_^


Look here - similar problem (cascading drop down)


check the CascadingDropDown from the ajaxcontroltoolkit.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消