How to handle Invalid postback or callback argument ERROR at ASP.NET?

Invalid postback or callback argument. Event validation is enabled using 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.

Solution:

Add enableEventValidation="false" tag to the pages element of web.config.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.