tags:

views:

7

answers:

0

I write

<%@ Page Title="" Language="C#" MasterPageFile="UserMasterPage.Master" AutoEventWireup="true"

CodeBehind="Default.aspx.cs" Inherits="MaxnetEcommerceNew.Default" EnableViewStateMac ="false" EnableSessionState="True" EnableEventValidation ="false" ValidateRequest ="false" ViewStateEncryptionMode ="Never" %>

then also it is giving me error "The state information is invalid for this page and might be corrupted" I also tried to add

<pages validateRequest="false" enableEventValidation="false" viewStateEncryptionMode ="Never">
<controls>
    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>

In web.config.But of no use.Is their any other solution to make viewstate information correct.