Javascript error on adding Options to basket


https://forum.kartris.com/Topic1209.aspx
Print Topic | Close Window

By TheCalicoTree - Mon 15 Aug 2011
Hi there,

When adding an options product to basket, the pop up message does not display and I get the following error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C; .NET4.0E)
Timestamp: Mon, 15 Aug 2011 11:17:21 UTC


Message: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_UC_MiniBasket_updPnlAddToBasket'. If it is being updated dynamically then it must be inside another UpdatePanel.
Line: 5
Char: 62099
Code: 0
URI: http://localhost:44449/ScriptResource.axd?d=HqeLDpyaOn201U8TtGVVHTuMH62mUDO7zbcUy67Ii4HH0Jky1KUKDjsP4cUF28laWhN9FmTZouNhQ0DB9O58w4A0kmA7ycBJHxaokpfF_864cEhiQjbE4VfyKmSdCAclheJSUJ0VaYYNYkMfXtFtY_e0yuY1&t=5c2f384e

It works fine for mutiple versions and single products.  The product is actually added to the basket but the mini basket does not update.

Any ideas as to where this may be going wrong?

Thanks
By Mohammad - Mon 15 Aug 2011
Hi, which version you are using ?
By TheCalicoTree - Mon 15 Aug 2011
HI, I'm running 1.3.

Thanks
By Mohammad - Mon 15 Aug 2011
We didn't experience this before in v1.3, and I just double checked that couple of minutes ago, i couldn't be able to replicate your error on my copy.

If you made and changes to "BasketView" control in "UserControls\Front" or to "AddToBasket" control in the "UserControls\General", I can suggest to revert the changes back, or just copy/replace the file(s) from original kartris package, and see if the error disappears and everything is working as expected.