标签:style blog ar color sp on div 问题 log
public JsonResult ReturnTest() { return Json(new {myMsg ="hello world"}, "text/html; charset=UTF-8"); //没问题 //return Json(new { myMsg = "hello world" }, "text/json; charset=UTF-8"); //firefox下JSON提示另存为 //return Json(new { myMsg = "hello world" }); //IE下JSON提示另存为 }
MVC中的Controller中返回一个JsonResult在弹出一个下载框?
标签:style blog ar color sp on div 问题 log
原文地址:http://www.cnblogs.com/easy5weikai/p/4137832.html