AJAX + ASP.net to fetch data from Sql Server?

I want to dynamically manage a set of dropdowns so that they filter their items after changing another index down.

I am working in C # / ASP.net and it would be great if I could get the data I need directly from the Sql Server. I assume I can generate an xml file when new data is uploaded to the server, but that sounds like a pain.

Is there an obvious way to do what I need to do?

0


source to share


2 answers


Check out the CascadingDropDown Control . It is part of the ASP.NET Ajax Control Toolkit.



+3


source


You can use onchange event from one dropdown and in event you can change other dropdown content with ajax



0


source







All Articles