ASP.NET MVC controller actions that return JSON or partial html
In your action method, return Json(object) to return JSON to your page. Then just call the action method using Ajax. You could use one of the helper methods from the ViewPage such as SomeMethod would be a javascript method that then evaluates the Json object returned. If you want to return a plain string, you … Read more