When I run my website,sometimes run without error and some times this exception accord. what’s problem?
Microsoft JScript runtime error:
Sys.WebForms.PageRequestManagerServerErrorException: 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.
Please see this answer: https://stackoverflow.com/a/1503660/290343.
Also read Microsoft’s documentation about EnableEventValidation. Depending on your security needs, as a last resort (but only a last resort), set it to ‘false’ in web.config or on a per-page basis.