Imagebutton
i am using imagebutton within a datalist but when i click on imagebutton error is showing as-
Invalid postback or callback argument. Event validation is enabled using
Invalid postback or callback argument. Event validation is enabled using
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Senzeye96 reputationPosted Mar 28, 2015, 12:18 AM EDT
http://dotnetdrizzles.blogspot.in/2014/10/registerforeventvalidation-can-only-be.html
http://dotnetdrizzles.blogspot.in/2014/12/webforms-unobtrusivevalidationmode.html
Khargesh RajputRank #616 · 3.9K reputationPosted Mar 28, 2015, 12:31 AM EDT
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Page.aspx.cs" Inherits="Page" EnableEventValidation="false" %>
and bind datalist in Postback check
if(!Page.ispostback)
{
// code to bind datalist
}