错误:“此页面的状态信息无效,可能已损坏。” [英] Error : “The state information is invalid for this page and might be corrupted.”

查看:84
本文介绍了错误:“此页面的状态信息无效,可能已损坏。”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

when i was click the button for export pdf so there is an error on my webpage "The state information is invalid for this page and might be corrupted." and also this error [No relevant source lines]

<pre><%@ Page Language="C#" MasterPageFile="~/MPHome.master" AutoEventWireup="true" CodeFile="CancelledInvoiceListRpt.aspx.cs" Inherits="CancelledInvoiceListRpt" %>







这是aspx页面的顶部..如何解决这个请帮助我....




this is the top of aspx page.. how to fix this please help me....

推荐答案

将asp.net应用程序的web.config文件中的enableEventValidation属性设置为false。
set the enableEventValidation attribute in the web.config file for the asp.net application to false.


这篇关于错误:“此页面的状态信息无效,可能已损坏。”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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