We have a fairly large site, and many of our visitors began to use Android-based mobile phones to visit the site. However, when they try to log in, we get an error checking the events:
Invalid callback or callback argument. Event validation is enabled using either the configuration or <% @Page EnableEventValidation = "true"%> in page. For security reasons, this function checks that the arguments of the postback or callback event from the server that originally represented them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method to register the postback data or callback for validation.
Does anyone know how to fix this without completely disabling event checking?
This is not every time they visit, but it often happens that this is a problem.
Also, we never get them in PC-based browsers (IE, FF, Chrome, Safari, Opera, etc.)
EDIT:
There are no updated folders on the page where this happens, no custom __doPostback code, etc. It's pretty vanilla with a simple LinkButton that causes a postback.
This error also occurs on several other pages (I just found out about it now), so I doubt it is a single design error.
I think this is more of a problem with the Android browser and ASP.Net in general.
source
share