Amit Kumar

Amit Kumar

  • NA
  • 140
  • 40.9k

Invalid postback or callback argument

Aug 22 2013 10:02 AM

When i try to click on gridview button then i am getting error like this 

Invalid postback or callback argument.


 System.ArgumentException: 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. 


Answers (4)