1

Closed

Attribute Selector Generates and Error when an attribute is set to Single Selection List.

description

When an attribute is set with Single Selection List and attribute is assigned to product, on product detail page it generate and error for PostBack Event.
 
The reason behind this : Both the label control and Drop Down list are assigned with the Same "ID" which is not allowed, however we are creating the controls runtime and not on the design time we do not get any error while compiling the Application.
 
I am not sure with this but its just my thought.
 
Please see attached document for control reference and code reference.

file attachments

Closed Apr 6, 2012 at 2:16 PM by valeriuz
Fixed in Change Set 88897 by adding the proper controls in aspx instead of code behind.

comments

valeriuz wrote Apr 4, 2012 at 7:06 AM

Hi Elisha,
I don't remember to have any difficulties with Single Selection attribute. It's the simplest case... Anyways, I'll look into it and compare the code with several other versions I have developed on the side to see if something slipped away... I'll be baaack

valeriuz wrote Apr 6, 2012 at 2:10 PM

I solved this issue in Change Set 88897. I think it was solved in a newer version of dashCommerce and I improved it some time ago in a pizza store I developed for a friend. If you look into the code you will see also some pieces of code related to a new type of attribute (numbered 4).

valeriuz wrote Apr 6, 2012 at 2:14 PM

I fixed it in Change Set 88897. There are also some pieces of code that pertain to a new feature that I will add soon for a new type of attribute: Multiple Selection. This type of attribute is useful in a store where a customer wants to add multiple times one attribute or multiple values of the attribute; such a scenario one can find for example in a pizza store when you want to add toppings.

wrote Apr 6, 2012 at 2:16 PM

wrote Feb 14, 2013 at 12:29 AM

wrote May 16, 2013 at 5:12 AM