Button in gridview
Posted
by Rajeev
on Stack Overflow
See other posts from Stack Overflow
or by Rajeev
Published on 2009-12-28T13:18:09Z
Indexed on
2010/04/10
7:03 UTC
Read the original article
Hit count: 401
I'm using a button in a template field of gridview. On button click I want to redirect to another page but it throws an exception:
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.
What can I do to resolve this problem?
© Stack Overflow or respective owner