BV Commerce Forum
»
BV Commerce Support
»
General Support
»
5.7.3 - Error Deleting Coupon On Cart Page
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
Is anyone else getting this error when attempting to delete a coupon from an order on the shopping cart page?
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.
Descript<b>ion:</b> An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: 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.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[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.] System.Web.UI.ClientscriptManager.ValidateEvent(String uniqueId, String argument) +8623897 System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) +72 System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +35 System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 |
|
|
|
|
Rank: Member
Joined: 9/26/2008(UTC) Posts: 121
|
Hi, Did you do any customizations as is error endicates that some dynamic created controls were not recreated during the postback or id of dynamic control was changed.
By the way the most simple way is to disable event validation. Did you try one? |
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
I just tested it with 5.7.3 and did not get an error. It could be that one of the products in your cart has some HTML in its name or one of its choices which may be causing the ASP.NET event validation to trip. Try another product and see if you still get an error. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
disabling event validation refreshes the page, but code is not removed.
I did something somewhere during my updates, I'll find it! |
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Could be an EnableViewstate setting on one of the controls... |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
Update:
I errantly removed enableviewstate="false" from the coupon grid during formatting.
Thanks guys. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.