S
stephenedavis
I keep getting the error message "Invalid postback or callback
argument" on my asp.net 2.0 pages in Internet Explorer. These pages
are simple, and just to make sure there is nothing wrong with the HTML,
I created an empty page with just the following in it:
<asp:Button runat="server" ID="Submit1" Text="Submit"></asp:Button>
When I navigate to this page and wait for the progress bar to show it
is complete 100% and then quickly click on the button, I get the error
message. However, when I do the same, except wait about 10 to 15
seconds after the page has completed downloading before clicking, I do
not get the error message.
I have done a bit of research on this and all of the literature I have
read points to a timing issue with rendering the page. The page has
completed its download, but it is still rendering (even though it is
displayed on the screen), and therefore upon clicking the submit
button, the verification of the control's events cannot be successfully
completed at the server, resulting in the aforementioned error message.
from showing. While I love "work-arounds" as much as the next person,
I would REALLY APPRECIATE a more definitive response to this topic. Is
this really a bug in V2.0? A previously posted message said it is not
a "bug" but the way .NET is designed...that's questionable if this
really is the behavior that is going on. Is there some sort of setting
I could do besides turning off a security feature to prevent this error
message?
Thanks in advance!
Stephen
argument" on my asp.net 2.0 pages in Internet Explorer. These pages
are simple, and just to make sure there is nothing wrong with the HTML,
I created an empty page with just the following in it:
<asp:Button runat="server" ID="Submit1" Text="Submit"></asp:Button>
When I navigate to this page and wait for the progress bar to show it
is complete 100% and then quickly click on the button, I get the error
message. However, when I do the same, except wait about 10 to 15
seconds after the page has completed downloading before clicking, I do
not get the error message.
I have done a bit of research on this and all of the literature I have
read points to a timing issue with rendering the page. The page has
completed its download, but it is still rendering (even though it is
displayed on the screen), and therefore upon clicking the submit
button, the verification of the control's events cannot be successfully
completed at the server, resulting in the aforementioned error message.
this point and set EnableEventValidation to false to prevent the errorFrom reading posts on here, it seems as though most people give up at
from showing. While I love "work-arounds" as much as the next person,
I would REALLY APPRECIATE a more definitive response to this topic. Is
this really a bug in V2.0? A previously posted message said it is not
a "bug" but the way .NET is designed...that's questionable if this
really is the behavior that is going on. Is there some sort of setting
I could do besides turning off a security feature to prevent this error
message?
Thanks in advance!
Stephen