在vb.net中删除gridview中的行时出现问题 [英] problem while deleting a row in gridview in vb.net

查看:181
本文介绍了在vb.net中删除gridview中的行时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无效的回发或回调参数。使用< pages enableeventvalidation =true>启用事件验证在配置或<%@ Page EnableEventValidation =true%>在一个页面中。出于安全考虑,此功能可验证回发或回调事件的参数是否来自最初呈现它们的服务器控件。如果数据有效且符合预期,请使用ClientScriptManager.RegisterForEventValidation方法注册回发或回调数据以进行验证。





在使用按钮控件删除gridview中的行时出现此错误,应该是错误?

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.


got this Error when deleting a row in gridview using a button contol,what should be the error??

推荐答案

它检查一个值,指示页面是否验证回发和回调活动

制作: -



<%@ Page EnableEventValidation =false%>
It checks a value indicating whether the page validates postback and callback events
Make:-

<%@ Page EnableEventValidation="false" %>


这篇关于在vb.net中删除gridview中的行时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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