NetTalk Central

Author Topic: How do I refresh NetWebPage  (Read 6665 times)

Alan Telford

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
How do I refresh NetWebPage
« on: June 25, 2007, 07:06:49 PM »
I have a webpage which I want to refresh automatically every minute. It is a NetWebPage with an embeded NetWebForm and NetWebBrowse.
I can see that both the NetWebSource and the NetWebBrowse have fields for setting up a TIMER. But ... how do I get a NetWebPage to refresh automatically?

I tried embedding a netwebsource with a timer on, but that made no change.

Help

Alan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How do I refresh NetWebPage
« Reply #1 on: June 26, 2007, 12:54:40 AM »
Hi Alan,

why do you need to refresh the "form" part of the page?
is that gonna change? Perhaps you just need to refresh the "browse" part?

cheers
Bruce

Miro Vehar

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Re: How do I refresh NetWebPage
« Reply #2 on: July 05, 2007, 03:14:07 AM »
So, how to refresh browse using timer? I'm curently doing this with html routine (Before form):
<META HTTP-EQUIV="Refresh" CONTENT="30">
but this refreshes the whole page and cause some flickering.

Alan Telford

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
Re: How do I refresh NetWebPage
« Reply #3 on: July 05, 2007, 02:16:36 PM »
Miro,

Thanks that did the trick.

Bruce,

>why do you need to refresh the "form" part of the page?
>is that gonna change? Perhaps you just need to refresh the "browse" part?

I have a windows service which runs various tasks on a machine. I'm using NetTalk to provide a webpage which shows the current server status.
While the webpage is open I want it to display
  • [Date/Time]
  • [Information Text]
  • [some conditional buttons]
  • [a browse]
  • [more text and conditional buttons]

All the items can change - text, buttons, browse - so the whole page needs to be refreshed.
The NetWebPage is the container for everything.
The NetWebForm has the display text and buttons, and the browse.

So ... I need to update the whole page to change the text, buttons, etc.


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How do I refresh NetWebPage
« Reply #4 on: July 06, 2007, 04:48:16 AM »
Hi Miro,

On the advance tab of the Browse are some timer settings.

Cheers
Bruce