Use jQuery to Build Ajax-enabled ASP.NET Controls [con't]
The Complete Source
Here's the complete source code of the generic handler used to generate the JSON data:
Here's the complete markup code in the Default.aspx file:
When you execute the application, you'll see a RadioButtonList control and a DropDownList control. When you select a department, the employee(s) belonging to that particular department will be dynamically populated.
Summary
JQuery provides support for browser independence, a simplified event handling model and seamless extensibility through its plug-in API. Ajax allows you to design and implement lightning fast and responsive applications with reduced consumption of resources. This article demonstrated how you can use jQuery and Ajax to build Ajax-enabled ASP.NET controls. Happy coding!
Original: June 4, 2010

Find a programming school near you