View Single Post
  #1 (permalink)  
Old February 19th, 2008, 07:23 AM
mallikalapati mallikalapati is offline
Authorized User
Join Date: Feb 2008
Location: Bangalore, A.P, India.
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default Invalid postback or callback argument

hi friends,

i am using gridview with template field buttons and at runtime when i click the button I am getting an error as follows

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.