Author: darbha_s | Posted on: 10/8/2008 9:19:21 AM | Views : 433

Hi all,
 I have a very simple page that has a text box and a submit button and a javascript reference that loads a 3rd party website link. This link takes some time to load since its waiting on response from the 3rd party server. So while the page is still loading, if the user enters a valid value in text box & clicks on the "Submit" button he gets the following error message -
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.
&nbs ...

Go to the complete details ...