Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Eventvalidation, bug or annoyance ?

Thread Tools

Eventvalidation, bug or annoyance ?

Posts: n/a

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"

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.

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.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
*bug* *bug* *bug* David Raleigh Arnold Firefox 12 04-02-2007 03:13 AM
Newsgroups listing annoyance Steve IA Firefox 4 01-22-2006 09:50 PM
tbird addressbook UI annoyance Splibbilla Firefox 3 09-17-2005 02:29 AM
minor JAXP annoyance Java 0 12-15-2004 10:12 PM
Folder being processed annoyance Carey Barnett Firefox 1 07-24-2003 08:17 PM