System.ArgumentException: 回發(fā)或回調(diào)參數(shù)無效。
若在配置中使用 < pages enableEventValidation="true"/>
提交數(shù)據(jù)或者搜索查詢的時(shí)候出現(xiàn)錯(cuò)誤
1,在頁面的<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 中添加 EnableEventValidation="false" 就可以了。
2,通過修改web.config
<system.web>
<pages enableEventValidation="false"/>
原文鏈接:System.ArgumentException: 回發(fā)或回調(diào)參數(shù)無效