NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on April 10, 2013, 10:37:06 PM
-
Hi Guys,
I have a button added in a NetWebBrowse, which is set to "other" action.
The button works fine, but I need it to refresh the page-header when the button is clicked - as the header contains a display value (variable) that is updated when the user clicks the button.
When I click on the menu (left) and click back onto the NetWebBrowse procedure, the header refreshes just fine and shows the updated value correctly.
But I'd like to refresh the header without the user clicking off the NetWebBrowse.
I've tried calling 'indexpage' URL from this button, and seems to work a bit better, but it still doesn't update immediately when the button is clicked ..
Regards
Rupert
-
I'm presuming you have some code "under" the button which executes when it's clicked?
if so you can call the header procedure from there. Something like;
PageHeaderTag(p_web)
and the header should refresh. (For debugging you may want to put a random number on it so you can see when it refreshes, but perhaps what you're expecting to change is not set yet.)
Cheers
Bruce