M
Mike P
I have added a couple of buttons to my ASP.NET 2.0 page. which both are
meant to do pretty simple things, a Back button and a Submit data
button. But I get this error whenever I click either of the buttons :
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.
How do I prevent this error?
meant to do pretty simple things, a Back button and a Submit data
button. But I get this error whenever I click either of the buttons :
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.
How do I prevent this error?