无效的回发或回调参数.在配置或页面中启用事件验证. [英] Invalid postback or callback argument. Event validation is enabled using in configuration or in a page.

查看:88
本文介绍了无效的回发或回调参数.在配置或页面中启用事件验证.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无效的回发或回调参数.使用配置中的<pages enableEventValidation="true"/>或页面中的<%@ Page EnableEventValidation="true" %> 启用事件验证.为了安全起见,此功能验证回发或回调事件的参数源自最初呈现它们的服务器控件.如果数据有效且预期,请使用ClientScriptManager.RegisterForEventValidation方法以注册回发或回调数据以进行验证.

当在网格视图中单击按钮时得到此提示吗?

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.

I got this when button click in grid view?

推荐答案

查看相同的讨论
See the same discussion here[^].


这篇关于无效的回发或回调参数.在配置或页面中启用事件验证.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆