问题:
图片翻译
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 originae from the server control that originally redered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to reister the postback or callback data for validation
翻译:
无效回发或回调参数。在配置中使用<pages enableEventValidation="true"/>或在页面中使用<%@Page EnableEventValidation="true"%>启用事件验证。出于安全目的,该特性验证回发或回调事件的参数源自最初对其进行重写的服务器控件。如果数据是有效的和预期的,则使用ClientScriptManager.RegisterForEventValidation方法来重新生成回发或回调数据以进行验证
Description: An unhandled exception occured during the execution of the current web request,Please review the stack trace for more information about the error and where it originated in the code
描述:当前Web请求执行过程中发生未处理的异常,请查看堆栈跟踪以获取有关错误及其起源于代码中的更多信息
Exception Detail:system ArgumentException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true"%> in a page.For security purposses, this feature verifies that arguments to postback or callback events originate from the server control the 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.
异常详细信息:系统AgMutEnter异常:无效的回发或回调参数。在配置中使用<pages enableEventValidation="true"/>或在页面中使用<%@Page EnableEventValidation="true"%启用事件验证。如果数据是有效的和预期的,使用clitScript管理器.RealStestFrEvestValueMebug方法注册PO
Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below
源错误:在当前Web请求的执行过程中生成未处理的异常。可以使用以下异常堆栈跟踪标识有关异常的来源和位置的信息
虽然翻译出来了,但是完全看不懂
请问各位大佬,这个错误改怎么解决
回答1:
在页面<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 中添加 EnableEventValidation="false" 试试看