NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rob Kolanko on July 05, 2012, 11:55:19 AM

Title: Reseting the NetWebBrowse list.
Post by: Rob Kolanko 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
Title: Re: Reseting the NetWebBrowse list.
Post by: Bruce on July 05, 2012, 10:04:29 PM
p_web.SetSessionValue('MailboxesBrowseControl_FirstValue','')
Where
MailboxesBrowseControl
is the name of the browse.

cheers
Bruce
Title: Re: Reseting the NetWebBrowse list.
Post by: Matthew 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