提示“回发或回调参数无效”的错误!

Exception: System.ArgumentException
Message: 回发或回调参数无效。在配置中使用 <pages enableEventValidation="true"/> 或在页面中使用 <%@ Page EnableEventValidation="true" %> 启用了事件验证。
出于安全目的,此功能验证回发或回调事件的参数是否来源于最初呈现这些事件的服务器控件。如果数据有效并且是预期的,
则使用 ClientScriptManager.RegisterForEventValidation 方法来注册回发或回调数据以进行验证。
Source: System.Web
   在 System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument)
   在 System.Web.UI.WebControls.DropDownList.LoadPostData(String postDataKey, NameValueCollection postCollection)
   在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

慕尼黑8549860
浏览 443回答 2
2回答

天涯尽头无女友

或者你直接在web.config中加入<pages enableEventValidation="true"/>配字节
打开App,查看更多内容
随时随地看视频慕课网APP