Invalid postback or callback argument
来源:互联网 发布:80端口被占用怎么解决 编辑:程序博客网 时间:2024/04/30 14:18
在ASP.NET2.0中出现如下错误;
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
解决方法:
在.aspx页面中的<%@ Page …… %>语句中加上属性EnableEventValidation="false"
关于 EnableEventValidation可以参考:http://msdn2.microsoft.com/zh-CN/library/system.web.configuration.pagessection.enableeventvalidation(VS.80).aspx
- Invalid postback or callback argument
- Invalid postback or callback argument.
- Invalid postback or callback argument
- Invalid postback or callback argument.
- Invalid postback or callback argument.
- Invalid postback or callback argument
- invalid postback or callback argument问题
- Invalid postback or callback argument问题解决方法
- “Invalid postback or callback argument” in ASP.NET 的解决办法
- 诡异的Invalid postback or callback argument(無效的回傳或回呼引數)
- Invalid postback or callback argument(回发或回调参数无效)
- 诡异的Invalid postback or callback argument(無效的回傳或回呼引數)
- ASP.NET Event Validation and “Invalid Callback Or Postback Argument” : Part I
- [ASPNET]ASP.NET Event Validation and “Invalid Callback Or Postback Argument” Troubleshooting info
- invalid argument
- Runtime error 5 Invalid procedure call or argument
- protel 99se :format %x invalid or incompatible with argument
- PostBack(AutoPostBack , IsPostBack) 与CallBack
- Why do we get error "Call to undefined function: ora_logon()/ ocilogon()"?
- split-PHP
- Javascript 读写文件的一个例子
- Php部分常见问题总结
- how to enable or disable registry editing in xp
- Invalid postback or callback argument
- Microsoft Access: ActiveX component cannot create object
- Replace function in MySQL
- 富人和穷人的12大经典差异
- Critical analysis of SAP HR module (Part 1)
- ASP.NET程序中常用的三十三种代码一
- 优秀Java开源项目
- 用ASP把图片存入数据库
- java.util下的Timer,TimerTask和quartz的比较