J
JULO
Hi,
I have this problem:
In GridView I have template column with ImageButtons - for deleting row.
When I click on that button I get this 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.
....when I change EnableEventValidation directive to false(as I found in many
forums) the GridView RowDeleting event IS NOT fired so I can't delete row.
can someone help me to solve this problem?
thanks
I have this problem:
In GridView I have template column with ImageButtons - for deleting row.
When I click on that button I get this 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.
....when I change EnableEventValidation directive to false(as I found in many
forums) the GridView RowDeleting event IS NOT fired so I can't delete row.
can someone help me to solve this problem?
thanks