Romacali
asked on
Error on the page Event validation is enabled using <pages enableEventValidation="true"/> ?
Can someone help me with this? Please
I have a dropdownlist in my program.when I choose some of it's attributes I recieve this error:
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="tru e"/> in configuration or <%@ Page EnableEventValidation="tru e" %> 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.Regist erForEvent Validation method in order to register the postback or callback data for validation.
what should I do? and what is this error for?
public partial class UserControls_publication : System.Web.UI.UserControl
{
private void Page_Load(object sender, EventArgs e)
{
}
public void Search_Btn_Click(Object o, EventArgs e)
{
Page.Response.Redirect("Pr ojectDescC urrent.asp x?PID=" + ddlSearch.SelectedItem.Val ue);
}
}
I have a dropdownlist in my program.when I choose some of it's attributes I recieve this error:
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="tru
what should I do? and what is this error for?
public partial class UserControls_publication : System.Web.UI.UserControl
{
private void Page_Load(object sender, EventArgs e)
{
}
public void Search_Btn_Click(Object o, EventArgs e)
{
Page.Response.Redirect("Pr
}
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
enableEventValidation="fal