摘要:
在页面异步请求处理文件ashx,要提交内容中包含html标签提交时出错!解决办法:1.<system.web><httpRuntime requestValidationMode="2.0" /> </system.web> web.config下配置这个节点2.ActionResult 加上[ValidateInput(false)]如:[ValidateInput(false)]public ActionResult Index(){ return View();}问题解决!!!! 阅读全文