Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tommy Poulsen 514 posts 708 karma points
    Feb 26, 2010 @ 17:42
    Tommy Poulsen
    0

    Ajax, Viewstate and Firefox

    Hi everyone,

    I have quite an excotic issue here - but I'll ask the community anyway...

    I have a site where I'm using Dynamicdrives "ajaxpage" script for dynamically ajax loading a page. In the loaded page I have a Doc2form form for handling comments.

    Unfortunately, on Firefox, when the user hits the doc2form submit button this error is the result

    The state information is invalid for this page and might be corrupted

    I know Firefox has an issue with caching when using Ajax, but I cannot really come up with a solution for this.

    Anyone got any experience with this?

    >Tommy

  • dandrayne 1138 posts 2262 karma points
    Feb 26, 2010 @ 18:04
    dandrayne
    0

    Hmm, weird.  A google search brought this back

    Now I know the reason of this problem.

    Because the page i want to submit is a main page. Through AJAX i got some
    content from another page. But with the returned content. It's contained
    a variable name "__VIEWSTATE". It will replaced the same variable of the main page.

    So when i tried to submit the content of main page. The error i mentioned will comes.
    Because the content of __VIEWSTATE of main page is replaced already.

    from (http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/25f2886c-b560-434e-8dab-44a8adf4d34a)

    It seems to be a .net thing, not a firefox thing.  Strange indeed though

    Dan

  • Tommy Poulsen 514 posts 708 karma points
    Feb 26, 2010 @ 18:08
    Tommy Poulsen
    0

    I looked at these:

      http://www.telerik.com/help/aspnet-ajax/ajaxviewstatefirefox.html

      http://lachlankeown.blogspot.com/2008/04/firefox-refresh-viewstate-updatepanel.html

      https://developer.mozilla.org/en/How_to_Turn_Off_Form_Autocompletion

    But still did not manage to resolve the issue. You can see the result in Firefox when submitting a comment using Firefox on one of the pages in this site.

     


  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies