Edited by Nancy Michell
MSDN Magazine August 2004
View Complete Post
I am getting the "The state information is invalid for this page and might be corrupted." error while creating tabs using jquery. I am loading pages to the dynamically created div using jquery and when i click any of the buttons in the page i get this error. The created tabs are working fine. Only thing is if i click any buttons that cause postback resulting in the above error. Help me please regarding this.
I have read the full 6 pages (90 posts) of the thread http://forums.asp.net/7/1173230/ShowThread.aspx and tried just about every single suggestion. nothing has fixed this error.Sorry for duplicate posting this, I posted this question in that forum thread as well but i have since realized that thread has the "answered" icon so i doubt i will get much help from posting in that thread...
My c# asp.net 2.0 website has not been upgraded from a 1.1 or 1.0 project. I built it from scratch, using 2.0 the whole time. (It would seem most people have this error due to an "upgrading from 1.1" issue, which isn't the case for me)
The error I am getting is:
The state information is invalid for this page and might be corrupted.
and my current web.config file looks like this:
<pages
enableViewStateMac="false"
enableEventValidation="false"
viewStateEncryptionMode="Never"
maxPageStateFieldLength="90"
validateRequest="false" >
The page(s) that produce this error are all on Firefox. I simultaneously run IE on the same pages to test things at the same time and find that IE has no conflicts whatsoever, these errors are occuring in Firef
Hi All,I have an issue of keeping the authentication and session state on a downloaded page, on the same website.I have 2 pages, page 1 will download page 2, using the following code: Page 1 code:System.Net.WebClient webClient = new System.Net.WebClient();byte[] buffer = webClient.DownloadData("http://www.mywebsite.co.uk/page2.aspx");return Encoding.UTF8.GetString(buffer);but the authentication is lost, so i needed to re-login in page 2 by writing auto login code myself.But then the session is lost, so the session variables set in page 1 cannot be share to page 2, and vice versa.Ideally, i needed page 2 to keep the authentication and session state when i call webClient.DownloadData()Is there a way to do this?Many thanks!
Hi all. I have a big query that it execute in 4 minutes. (for example an important trigger)
I want to show situation of query or count of records that is affected in every 10 second in to a web page.
what should I do? (please complete explain)
Hi,
I am confused about the View state in ASP.NET application. I was trying out something on a Web page, my observation was that the value which i entered on the text field on my ASP.NET web page persists after post back.
My assumption was that by default the EnableViewState is turned off for any web page. I put in the code Page.EnableViewState = False.
But still the value of the text entered in the text field persists after post back. Why is this?
Thanks in advance
Hi,I have a datagrid.
I am editing the page links text 1 2 3 4 5 ... as 1-10 11-20 21-30 31-40 ...succesfully.
But here the problem is when am clicking 21-30 link it changes to 3.
How to display the 3 as 21-30.
Hello,
Nutshell: App has the ability to show same page with different settings at the same time, and the session state is too broad for that. I need to have a set of states, one for each page.
My web page can display a scorecard that allows user to view or change scores for one or more possible sports teams (I changed actual business requirements to keep problem simple). For example, Team 1 can have positive score for some aspects of a game and negative for other aspects of a game. This page can show one or more teams side by side for comparison. The ability to add teams to the view is called filtering. There can be more than one view in a browser's tabs or new windows.
Here are my problems:
1. If the user presses Browser Refresh, they lose all current filters unless I use Session or TempData. Using Form Post does not work here.
2. However, solution 1 doesn't work for multiple pages where the user wants to bring up 2 different views of the same page (for example, page 1 has Teams 1 and 2, and Page 2 has Teams 3 and 4). They cannot do this using Session or TempData. This only works if I pass the current filters to the controller via a Post Form Data data or in the Url.
3. The use of a url won't work because the data that needs to pass to the controller sometimes exceeds 500 characters.
I have googled this to no
Hello everyone,
First off, I'd like to apologise if this is not the correct section to be posting in. I am currently having a problem with my page that I am working on. The problem is essentially this:
- Page is loaded
- User can click a button (BUTTONS PURPOSE: once this button is clicked it reveals a hidden table that displays some data)
- When this button is clicked the table is revealed (for a split second) then the page is refreshed and the table is then hidden again.
I want the table to remain visible, but am unsure of how to go about doing this. Any help would be greatly appreciated! Please let me know if I have not been specific enough or if I need to provide some more information.
I have created a Master-Detail WPF on a Entity FrameWork object.
... xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase" ... >
<Page.Resources> <CollectionViewSource x:Key="MasterViewSource" /> <CollectionViewSource x:Key="DetailViewSource" Source="{Binding Source={StaticResource MasterViewSource}, Path=MasterDetailRecords}" />
I am attempting to sort the details by the "SortValue" property in the details table.
When I try the following an error is generated at execution:
<Page.Resources> <CollectionViewSource x:Key="MasterViewSource" /> <CollectionViewSource x:Key="DetailViewSource" Source="{Binding Source={StaticResource MasterViewSource}, Path=MasterDetailRecords}"> <CollectionViewSource.SortDescriptions> <scm:SortDescription PropertyName="SortValue"/> &n
Hi i am using window.opener.location.href = window.opener.location.href; to refresh a page from another page
and it s working fine but i need to preserve state because i am loosing any ViewState on the first page when i do this. It will be as if the user typed in the url in the browser again instead of hitting refresh.
please help!
Hi
i have a form on page1.aspx with several controls (textbox, dropdownlist, etc).
on Page1 PageLoad event i load data from database and performe databinding.
From Page1 a user can, by clicking a specific button, move to Page2.aspx to insert some details and, after saving details, he returns to page1.
if save changes are made on control on page1 before save them to db, obviously, these are lost on return from page2 (because are reloaded on pageload from db).
How can i save control status between pages round trip?
I have developed a website using jquery. Used Master page with child pages. I used document.ready on both master and child page. Now each and every thing is working fine in chrome and internet explorer. But in firefox, only the documnet.ready funciton works file in master page but does not work in child page.
for reference, you can check www.instruments.com.pk. You will see that it works fine in chrome and IE while child content does not load in firefox.
Any help will be appreciated.
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend