Simple Search "Enter" functionality and IE8

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
lastrom
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Fri Jul 31, 2009 7:46 am

Simple Search "Enter" functionality and IE8

Post by lastrom » Thu Apr 07, 2011 6:58 am

Hi all,
The default functionality in AbleCommerce (in both my custom installation and in a brand new AbleCommerce trial installation) for the Simple Search control is that it submits the form when the enter key is pressed after typing into the search phrase text box. This functionality doesn't quite work in IE8 (non-compatibility mode), it just posts back to the same page instead of the search page with the query string. Is there a solution to this?

Thanks in advance.

rpb3
Lieutenant (LT)
Lieutenant (LT)
Posts: 60
Joined: Fri Jan 23, 2009 11:20 am

Re: Simple Search "Enter" functionality and IE8

Post by rpb3 » Thu May 05, 2011 11:49 am

I always modify the panel around the search controls in Conlib\SimpleSearch.aspx to look like this...

Code: Select all

<asp:Panel ID="SearchPanel" runat="server" DefaultButton="SearchButton">
Seems to do the trick

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Simple Search "Enter" functionality and IE8

Post by AbleMods » Fri May 06, 2011 10:20 am

There's also a method in PageHelper that sets the default submit button for a given page. Just call it within Page_Load().
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

bgreenwald54
Ensign (ENS)
Ensign (ENS)
Posts: 10
Joined: Tue Jan 31, 2012 1:20 pm

Re: Simple Search "Enter" functionality and IE8

Post by bgreenwald54 » Tue Jun 26, 2012 1:25 pm

So, is the change to ConLib\SimpleSearch.ascx something that has been officially rolled into the AbleCommerce product? Our concern is that if we fix this and then apply an AbleCommerce upgrade in the future, we will lose the fix due to overwrite. Please respond and let us know if this was considered a bug and whether it is scheduled for a release.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Simple Search "Enter" functionality and IE8

Post by AbleMods » Wed Jun 27, 2012 7:19 am

There won't be any more improvement updates to AbleCommerce 7 released now that AbleCommerce 8 is coming down the road.

I would suggest going ahead and modifying it.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply