Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Oct 20, 2009 06:18 PM|LINK
in MVC v2 they block Json for GET requests (as you can tell from the error) for security reasons. If you want to override that behavior, check out the overload for Json that accepts a JsonRequestBehavior parameter.
public ActionResult Index()
return Json(data, JsonRequestBehavior.AllowGet)