NetTalk Central

Author Topic: Locator not being cleared  (Read 1888 times)

LSlowick

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
Locator not being cleared
« on: August 29, 2013, 04:36:19 AM »
Hi

I have a browse 'browseinventory' that is being called from the menu several different ways by passing a different parameter (ex 'catg=a' or 'catg=f') . The problem is that when the locator is used on one call of the browseinventory and the user then goes to the top menu and selects a different option that runs the same browse (but with a different parameter) the locator retains the value from the previous called browse.

Shouldn't the locator be automatically cleared when it is initialized?

How and where can I manually clear this locator?

Thanks
Lee

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11204
    • View Profile
Re: Locator not being cleared
« Reply #1 on: August 29, 2013, 09:42:04 PM »
what locator type are you using Lee?

cheers
Bruce

LSlowick

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
Re: Locator not being cleared
« Reply #2 on: August 30, 2013, 06:41:19 AM »
Bruce

Its a 'search' locator type on the locator tab in the netwebbrowse settings.

The text on the browse is "Locate (Contains) Pattern:"

Lee

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11204
    • View Profile
Re: Locator not being cleared
« Reply #3 on: September 02, 2013, 03:47:32 AM »
add
&_refresh_=clearlocate
to the parameters of the menu item. eg
catg=a&_refresh_=clearlocate

LSlowick

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
Re: Locator not being cleared
« Reply #4 on: September 03, 2013, 05:05:28 AM »
Worked great!

Thanks Bruce.