![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ASP.NET
blue_maple
生活需要激情!
展开
-
Dropdownlist在ajax当服务器控件提交时错误“回发或回调参数无效 启用了事件验证
<br /> <br />项目中用到下拉列表多级联动,开始没用ajax全部服务器处理,后来这样刷新太慢了用ajax(ajax.dll),结果就遇到<br />错误:<br />回发或回调参数无效。在配置中使用 <pages enableEventValidation="true"/> 或在页面中使用 <%@ Page EnableEventValidation="true" %> 启用了事件验证。出于安全目的,此功能验证回发或回调事件的参数是否来源于最初呈现这些事件的服务器控件。如果数据有效并且是预期的,则原创 2010-10-15 17:03:00 · 1636 阅读 · 0 评论 -
关于Load Balance出现ViewState异常的解决方案
<br />今天在帮朋友解决错误:<br />System.Web.HttpException: Authentication of viewstate failed. <br /><br />1) If this is a cluster, edit <machineKey> configuration so all servers use the same validationKey and validation algorithm. AutoGenerate cannot be used in a c转载 2010-12-16 14:49:00 · 1151 阅读 · 0 评论