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
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Khargesh RajputPosted Mar 28, 2015, 4:31 AM
<%@ 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
}
SenzeyePosted Mar 28, 2015, 4:18 AM
http://dotnetdrizzles.blogspot.in/2014/10/registerforeventvalidation-can-only-be.html
http://dotnetdrizzles.blogspot.in/2014/12/webforms-unobtrusivevalidationmode.html