Product Finder AJAX on filter?

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
Odettes
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 102
Joined: Wed Apr 02, 2008 11:00 am
Location: Stockholm, Sweden
Contact:

Product Finder AJAX on filter?

Post by Odettes » Wed Apr 05, 2017 11:41 pm

Hi!

If I use an untouched version of Search.aspx and choose some filters under "Narrow by" it generates a GET to the Serach.aspx page.
To make AJAX work it need to be a POST. I'm I missing something here because if the Product Finder is not AJAX compatible it's pretty much useless.

The resultpart of the page works great with AJAX (where you select the sort-order).
Sincerely,
Thomas Berglund

https://traileronline.se
AbleCommerce Gold R11 Custom

nadeem
Captain (CAPT)
Captain (CAPT)
Posts: 258
Joined: Tue Jul 31, 2012 7:23 pm

Re: Product Finder AJAX on filter?

Post by nadeem » Fri Apr 07, 2017 5:28 am

Hi,
Yes you are right about the GET request to the search page. What actually you want to achieve, do you want to use search sidebar control to some where else? Also can you please explain why you think search page is useless using query parameters?

Thanks!

Odettes
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 102
Joined: Wed Apr 02, 2008 11:00 am
Location: Stockholm, Sweden
Contact:

Re: Product Finder AJAX on filter?

Post by Odettes » Fri Apr 07, 2017 8:31 am

nadeem wrote:Hi,
Yes you are right about the GET request to the search page. What actually you want to achieve, do you want to use search sidebar control to some where else? Also can you please explain why you think search page is useless using query parameters?

Thanks!
The whole page reload using GET = page moves to top.
POST by Update Panel = pages reload selected content = page dont move.

The shift from POST to GET from Able7 to Gold is bad, really bad.
Sincerely,
Thomas Berglund

https://traileronline.se
AbleCommerce Gold R11 Custom

nadeem
Captain (CAPT)
Captain (CAPT)
Posts: 258
Joined: Tue Jul 31, 2012 7:23 pm

Re: Product Finder AJAX on filter?

Post by nadeem » Mon Apr 10, 2017 2:59 am

At least, you can try using MaintainScrollPositionOnPostback="true" attribute in the page directive to maintain the scroll position. OR use some jquery/javascript for this purpose.

Post Reply