4
Answers

Invalid postback or callback argument

Ask a question
Amit Kumar

Amit Kumar

11y
1.1k
1

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)
Next Recommended Forum