The more you vote, the better it gets. Login and vote now.
By mswatcher
via geekswithblogs.net
Published: Jul 03 2008 / 05:11
The latest release of the MVC framework provides the JsonResult for Controller actions. I was surprised that I did not find a weatlh of examples for usage so I figured it shouldn't be too hard to get a decent example going. It turns out, it was even easier than I anticipated. I wanted to create an example where I would invoke an AJAX call to dynamically populate a dropdown list.
SaveShareSend
Tags: .net, frameworks, javascript
Comments
Gregg Bolinger replied ago:
"Getting an AJAX request with jQuery and JSON in MVC is actually pretty simple."
I think it is really funny that you .NET'ers call your MVC framework, MVC. ;)
Voters For This Link (6)
Voters Against This Link (1)