I am trying to create controller actions which will return either JSON or partial html depending upon a parameter. What is the best way to get the result returned to an MVC page asynchronously?
转载于:https://stackoverflow.com/questions/227624/asp-net-mvc-controller-actions-that-return-json-or-partial-html