Customer issue sorting category

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
bigbangtech
Commander (CMDR)
Commander (CMDR)
Posts: 182
Joined: Mon Oct 10, 2005 6:27 pm

Customer issue sorting category

Post by bigbangtech » Fri Sep 04, 2009 12:25 pm

Look at this link: http://www.needabulb.com/Mini-Spiral-Co ... C2020.aspx

We modified the sort code with instructions from a previous post.

Normal view (Default) selected, items are listed in order as they are sorted in the Admin

Choose Price Low-High

Now try to access page 2 and we get the following error:

Code: Select all

Server Error in '/' Application.
Cannot have multiple items selected in a DropDownList.
Description: 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.Web.HttpException: Cannot have multiple items selected in a DropDownList.
AC7.3

Need A Bulb? - Light bulbs for the building maintenance and construction industries

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: Customer issue sorting category

Post by ZLA » Mon Mar 08, 2010 3:51 pm

Did you ever resolve this? We get this error now as well.

bigbangtech
Commander (CMDR)
Commander (CMDR)
Posts: 182
Joined: Mon Oct 10, 2005 6:27 pm

Re: Customer issue sorting category

Post by bigbangtech » Mon Mar 08, 2010 5:12 pm

ZLA wrote:Did you ever resolve this? We get this error now as well.
We have since moved on to AC7 and never resolved this in AC5. It wasn't worth the trouble getting it to work properly in AC5
AC7.3

Need A Bulb? - Light bulbs for the building maintenance and construction industries

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: Customer issue sorting category

Post by ZLA » Mon Mar 08, 2010 10:55 pm

Unfortunately, we're using 7.2 so this isn't an old bug for us. Thank you for the info.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Customer issue sorting category

Post by mazhar » Tue Mar 09, 2010 8:15 am

Seems like when you customized the sort dropdown with some more sort options somewhere you missed to unselect previously selected item in dropdown or may be your code is trying to select more then one items in dropdwon.

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: Customer issue sorting category

Post by ZLA » Wed Mar 10, 2010 12:24 pm

I didn't change anything with regards to selecting sort items. I'm using the standard AC logic of

Code: Select all

if (item != null) item.Selected = true;
I found a work-around which can be found in this topic:viewtopic.php?t=13306

Thank you for the assistance.

Post Reply