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

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
 
Joined
Oct 29, 2008
Messages
2
Reaction score
0
Hello There,

Check There are Some Event Fire Which Not Handle By your Page.Check Edit,Cancel,Update Event of Gridview.



dotnet-magic.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top