I am getting this error on click of a link button. If anbody has
got the same error and have a solution for it plese respond.
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.

Signature
techeek
http://oxyin.com/techeek
One solution (although not the best solution) try adding this into the
<system.web> section of your web.config file:
<pages enableEventValidation="false" />
Another solution is to register your control for event validation. Simply
add the following call in the PreRender or Render page life cycle then your
control should work without having to turn off eventValidation:
Page.ClientScript.RegisterForEventValidation(this.UniqueID);

Signature
Misbah Arefin
> I am getting this error on click of a link button. If anbody has
> got the same error and have a solution for it plese respond.
[quoted text clipped - 9 lines]
> ClientScriptManager.RegisterForEventValidation
> method in order to register the postback or callback data for validation.
Sanket Sirotiya - 29 Jan 2008 09:08 GMT
<%@ Page EnableEventValidation="false" %> is the best way to overcome this.

Signature
Thanks,
Sanket Sirotiya
(sanket.sirotiya@yahoo.com)
> One solution (although not the best solution) try adding this into the
> <system.web> section of your web.config file:
[quoted text clipped - 22 lines]
>> ClientScriptManager.RegisterForEventValidation
>> method in order to register the postback or callback data for validation.