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.

Share it Please

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.


For Appropriate Removal Of this Error We Need To Apply [ if (!IsPostBack) ] on the event Where Grid is filled or we can Say that for the Removal of infinite Looping of a method.

or

If You Dont Need to Do All This Lengthy Process you Need to Write  [EnableEventValidation="true"] on .aspx page (ON TOP)


eg-


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GridviewbuttoEvent.aspx.cs" Inherits="GridviewbuttoEvent" EnableEventValidation="true" %>

Subscribe via email

Enter your email address:

Delivered by FeedBurner

Blogroll