asp.net错误comin点击gridview中的编辑。 [英] asp.net error comin on click of edit in gridview.
问题描述
亲爱的所有人,
点击datagridview中的编辑时出错。
错误是无效的回发或回调参数。使用配置中的< pages enableeventvalidation =true>或页面中的<%@ Page EnableEventValidation =true%>启用事件验证。出于安全考虑,此功能可验证回发或回调事件的参数来自最初呈现它们的服务器控件。如果数据有效且预期,请使用ClientScriptManager.RegisterForEventValidation方法注册回发或回调数据以进行验证。
请尽快帮我解决。
问候,
vengaqua
Dear All,
Error comin on click of edit in the datagridview.
The error is"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."
Please help me to resolve it asap.
Regards,
vengaqua
推荐答案
在aspx页面中将EnableEventValidation设置为False以解决此错误。
Set the EnableEventValidation to False in the aspx page to get through this error.
这篇关于asp.net错误comin点击gridview中的编辑。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!