Click here to Skip to main content
15,749,288 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
On form submission I'm getting the following error in Visual Studio 2008 ( 1.1 to 2.0).

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. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

What does this mean, and how can I fix it?
Updated 19-Dec-09 22:33pm

1 solution

It means what it says. You fix it by turning off event validation, it's basically a security feature that more often than not turns into a bug.

You can also use RegisterForEventValidation, like it says.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900