NetTalk Central

Author Topic: Reseting the NetWebBrowse list.  (Read 2790 times)

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Reseting the NetWebBrowse list.
« on: July 05, 2012, 11:55:19 AM »
Hi
I notice that each time the same NetWebBrowse procedure is called after the first time it was called, the browse list will be position at the last record selected. This is necessary and desirable most of the time, however there are occasions that I “reload” the table being browsed, and thus when the NetWebBrowse is called after the reload, I need to reset the browse list to position to the first record as if the NetWebBrowse was being called for the first time. Are there session variables that I can clear or delete to do the above?

Thanks
Robert Kolanko

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Reseting the NetWebBrowse list.
« Reply #1 on: July 05, 2012, 10:04:29 PM »
p_web.SetSessionValue('MailboxesBrowseControl_FirstValue','')
Where
MailboxesBrowseControl
is the name of the browse.

cheers
Bruce

Matthew

  • Full Member
  • ***
  • Posts: 137
    • View Profile
    • Email
Re: Reseting the NetWebBrowse list.
« Reply #2 on: July 05, 2012, 10:10:11 PM »
Hello Rob

I use p_web.SetValue('_refresh_', 'first') in Set Filter routine of NetWebBrowse. It sets position to the first record of browse.

Regards,
Matthew