Click here to Skip to main content
16,023,047 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

i am developing c#.net with asp.net application.when i am running my application in production i am getting the following error.but it can not be reproduced some times.I am using Ajax in my application with master page concept.

The error is:

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 to avoid this error.Pls help me

Thanks In advance.
Posted

1 solution

The error means what it says. The easy way to fix it, is to turn off validation. The other way is to use the method explained to you in the error message.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900