«« Next » « Previous
«« Next » « Previous

Link Details

The more you vote, the better it gets. Login and vote now.
Link 91456 thumbnail
User 225256 avatar

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.
  • 6
  • 1
  • 963
  • 322

Comments

Add your comment
User 152955 avatar

Gregg Bolinger replied ago:

0 votes Vote down Vote up Reply

"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. ;)

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (1)