Posts Tagged by Ajax

Cascading dropdowns with just a bit of Ajax in ASP.NET 2.0

In this sample I am going to go through very common idea of cascading dropdowns. Very basically speaking it is all about having set of dropdowns where next dropdown is populated on the basis of value selected from previous one. Let’s start with very simple xml document: <?xml version=”1.0″ encoding=”utf-8″ ?> <People>     <Person ID=”1″ […]

Passing list as parameter from AJAX request to MVC controller

I came across this recently when needed to pass array of selected values into MVC controller during Ajax request. Scenario was that on the page I had set of checkboxes and button. User can then make multiple choice selection and submit form using button. Page could look like this: <ul id=”sampleList”>     <li><input type=”checkbox” value=”1″ checked=”checked” />text 1</li> […]