|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Asp.Net 2.0 BugThis happens in both IE6.0 and FireFox1.5. Any ideas? System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> 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.RegisterForEventValidation method in order to register the postback or callback data for validation. 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.DropDownList.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.WebControls.DropDownList.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) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.designer_design_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_xzuwxjfw.18.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Can you do some more research before you post an error? You have not even
given any sort of context for this error. Newsgroupies are more inclined to help if you have at least covered the basics on your own. -- Show quoteHide quoteRegards, Alvin Bruney [MVP ASP.NET] [Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ www.lulu.com/owc Forth-coming VSTO.NET - Wrox/Wiley 2006 ------------------------------------------------------- "Amelyan" <bamelyan at wi.rr.com> wrote in message news:earOEOpTGHA.1576@tk2msftngp13.phx.gbl... > Testers getting this exception 1% of the time they click button on the > page. This happens in both IE6.0 and FireFox1.5. Any ideas? > > System.Web.HttpUnhandledException: Exception of type > 'System.Web.HttpUnhandledException' was thrown. ---> > System.ArgumentException: Invalid > postback or callback argument. Event validation is enabled using <pages > enableEventValidation="true"/> in configuration or <%@ Page > EnableEventValidation="true" %> 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.RegisterForEventValidation method > in order to register the postback or callback data for validation. > 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.DropDownList.LoadPostData(String > postDataKey, NameValueCollection postCollection) > at > System.Web.UI.WebControls.DropDownList.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) > --- End of inner exception stack trace --- > at System.Web.UI.Page.HandleError(Exception e) > at System.Web.UI.Page.ProcessRequestMain(Boolean > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) > at System.Web.UI.Page.ProcessRequest(Boolean > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) > at System.Web.UI.Page.ProcessRequest() > at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext > context) > at System.Web.UI.Page.ProcessRequest(HttpContext context) > at ASP.designer_design_aspx.ProcessRequest(HttpContext context) in > c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET > Files\root\26676eb7\92c7e946\App_Web_xzuwxjfw.18.cs:line 0 > at > System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() > at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, > Boolean& completedSynchronously) > > > >
pop-up browser persist data back to parent page code-behind
How do change layout od SideBar in Wizard control? (ASP.NET 2.0) FileUpload - keep the filename ObjectDataSource, GridView and ItemTemplate NullReferenceException With Different Register Directive Navigation Menu Site Map Difficulties WebPart and WebPartZones Usage Access property and control of master page from a customized parent page class Alignment of webcontrols... CustomControl and body.onload |
|||||||||||||||||||||||