By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,996 Members | 1,179 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,996 IT Pros & Developers. It's quick & easy.

GridView - Invalid postback or callback argument - ASP.NET 2.0

P: n/a
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?
Mar 5 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.