I was recently asked to demonstrate how to use jQuery with ASP.Net, with a focus on AJAX. So I spent a few hours and cooked up this demo web site.
The Web site demonstrates the following jQuery concepts:
- Basic jQuery selectors and API usage
- Wiring up javascript event handlers with jQuery
- AJAX autocomplete textbox using the Autocomplete plugin
- Maintaining AJAX navigation history and state using the History plugin
- Loading dynamic html into a panel using the jQuery.load API function
- Loading dynamic html into a modal dialog using the FaceBox plugin
The demo could be useful to both someone starting out with jQuery or an old-timer looking for some new AJAX approaches. Let me know what you think.
Download
asp.net-jQuery-demo.zip
(Requires Visual Studio 2008 and the .Net Framework 3.5)
Recent Comments