在页面中使用文字编辑控件时(如博客的评论),插入表情等特效时会有"从客户端(ctl00$ctl00$cphLeftBottom$cphLeftBottom$weComment="<IMG src="http://loc...")中检测到有潜在危险的 Request.Form 值。"的错误。
解决方法:
法一:在页面顶端<%@ Page >中,加入ValidateRequest=false(验证要求为false);
法二:把配置文件中<pages>.........</pages>变成<pages ValidateRequest=false>.........</pages>