Eventvalidation, bug or annoyance ?

Discussion in 'ASP .Net' started by PL, Nov 14, 2005.

  1. PL

    PL Guest

    It seems there is a bug or at least an annoynance with the new eventvalidation.

    I can't really tell you a certain way to reproduce this but I have a large datagrid that
    uses custom paging, I have navigation controls both at the top and the bottom.

    Everything works fine if you click the navigation links and allow the page to fully
    load before clicking the next time, but sometimes people click the navigation links
    at the top before the page has fully loaded, and behold, the dreaded "yellow page"
    appears:

    Server Error in '/' Application.
    --------------------------------------------------------------------------------
    Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or
    <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or
    callback events originate from the server control that originally rendered them.
    ....<snip>

    The whole problem here seem to be that the hidden form field __EVENTVALIDATION is placed
    at the very bottom of the page, just above the closing form tag, so if the page isn't fully loaded when
    they click the "next" link this field is either not sent along or is corrupted.

    So, BUG or annoyance ? You decide, it seems to me this is a buggy implementation to say the least
    and it may appear intermittently all over an application just because a postback happens from a page
    that haven't fully loaded.

    It would be nice to MS comments on this, and how to solve it other than turning eventvalidation off
    for the whole application.

    PL.
    PL, Nov 14, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    301
  2. Chris

    JavaHelp annoyance

    Chris, Apr 6, 2006, in forum: Java
    Replies:
    1
    Views:
    366
    Bjorn Abelli
    Apr 6, 2006
  3. DotQuery
    Replies:
    0
    Views:
    1,222
    DotQuery
    May 24, 2006
  4. =?Utf-8?B?RG9rZXI=?=

    eventvalidation razzle dazzle

    =?Utf-8?B?RG9rZXI=?=, Jul 4, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    367
    =?Utf-8?B?RG9rZXI=?=
    Jul 4, 2007
  5. Dave

    EventValidation Parser Error

    Dave, Oct 24, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    423
    Teemu Keiski
    Oct 25, 2007
Loading...

Share This Page