need help with error: Invalid postback or callback argument

  • Thread starter Thread starter Raymond Du
  • Start date Start date
R

Raymond Du

Hi guys,

I need help with an error, the message: Invalid postback or callback
argument. I never saw this error happened to me, not on IE nor FF, but
Log4Net I used on production server logs about 100 exceptions on one
specific page every day.

Here is the Stack trace:

Method Name:
Source Line/Column: 0/0
Stack Trace: at
System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String
argument)
at System.Web.UI.Control.ValidateEvent(String uniqueID, String
eventArgument)
at System.Web.UI.WebControls.RadioButtonList.LoadPostData(String
postDataKey, NameValueCollection postCollection)
at
System.Web.UI.WebControls.RadioButtonList.System.Web.UI.IPostBackDataHandler.LoadPostData(String
postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean
fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

There is only one RadioButtonList on this page, I populated it on page_load
like this:

protected void Page_Load(object sender, EventArgs e)
{

if (!IsPostBack)
{
//call some function to connect to db and retrieve datareader to populate
RadioButtonList
}
else
{
//get user selected value from RadioButtonList and insert it into db
}
}

I don't want to use EnableEventValidation="false". Please help
 
Raymond,

Can you narrow it down to a certain page, along with a certain browser?
It seems like the javascript that helps post the information back to the
server in the case of an event isn't creating the the information to send
back to the server correctly.
 
Back
Top