ASP.NET Invalid postback or callback argument.
Posted on 2011-09-09
I have a control that needs to work even when it's a postback... I cannot disable EnableEventValidation and on the control I have CausesValidation="True"...
What could be the problem here?
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.