473,406 Members | 2,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

need help with error: Invalid postback or callback argument

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(St ring uniqueId, String
argument)
at System.Web.UI.Control.ValidateEvent(String uniqueID, String
eventArgument)
at System.Web.UI.WebControls.RadioButtonList.LoadPost Data(String
postDataKey, NameValueCollection postCollection)
at
System.Web.UI.WebControls.RadioButtonList.System.W eb.UI.IPostBackDataHandler.LoadPostData(String
postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollec tion 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
Aug 14 '07 #1
1 1840
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Raymond Du" <rd**@yahoo.comwrote in message
news:eP**************@TK2MSFTNGP05.phx.gbl...
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(St ring uniqueId, String
argument)
at System.Web.UI.Control.ValidateEvent(String uniqueID, String
eventArgument)
at System.Web.UI.WebControls.RadioButtonList.LoadPost Data(String
postDataKey, NameValueCollection postCollection)
at
System.Web.UI.WebControls.RadioButtonList.System.W eb.UI.IPostBackDataHandler.LoadPostData(String
postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollec tion 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

Aug 14 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: DotQuery | last post by:
Hello ASP.NET team : I have a user control that be added into page at runtime , in a postback event handler . I save the information to view state , and load the user control again in...
2
by: matsla | last post by:
Hi, I use the ICallbackEventHandler interface, as per "Implementing Client Callbacks Without Postbacks in ASP.NET Web Pages". When i update some dropdown controlls in the callback and then do...
1
by: Ibrahim. | last post by:
Hi, I'm getting the following error when requesting asp.net page. Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in...
1
by: chris | last post by:
This topic is to get some details about the Event Validation feature in ASP.NET 2.0. I have researched this topic quite a bit via the web, and understand, for the most part how this works and why...
3
by: teo | last post by:
Mozilla error on postback and validation ----------- A Button causes a Listbox to desappear. If no item has been selected on the Listbox, all is OK. If one or more items are selected,
2
by: Nathan Sokalski | last post by:
I have a DataList in which the ItemTemplate contains two Button controls that use EventBubbling. When I click either of them I receive the following error: Server Error in '/' Application....
1
by: gjaganmohanrao | last post by:
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ PageEnableEventValidation="true" %> in a page. For security...
1
by: Ganeshb | last post by:
Hi all... When i call a click event written in serverside for a image button in a aspx page, the error displayed as below:... Invalid postback or callback argument. Event validation is...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.