client timer??

Discussion in 'ASP .Net' started by GaryB, Sep 4, 2004.

  1. GaryB

    GaryB Guest

    I want to put a control on a web page that will trigger an autopostback
    event in a period of time, say 10 seconds. Is there any such thing as a
    client timer? Like a button that will push itself 10 seconds after it is
    created.
    Thanks,
    G
    GaryB, Sep 4, 2004
    #1
    1. Advertising

  2. Hi Gary,

    From your description, you are wanting to build a web component which can
    make the page post back itself once every serveral seconds,yes?

    There does exist some means to do such task, you can try the following
    means:
    1. The standard html <meta> tag can help set to make a page refresh it self
    constantly by a certain period of time.

    #HTML META refresh tag
    http://webdesign.about.com/cs/metatags/a/aa080300a.htm

    2. The "window.setTimeout" and "window.setInterval" can help call a
    function after a certain period or repeatedly by a period. That is
    something like a clienttimer, you may have a look at the following links:

    #Javascript window.setTimeout
    http://www.devguru.com/Technologies/ecmascript/quickref/win_settimeout.html

    #Javascript window.setInterval
    http://www.devguru.com/Technologies/ecmascript/quickref/win_setInterval.html

    Hope helps.

    Regards,

    Steven Cheng
    Microsoft Online Support

    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)
    Steven Cheng[MSFT], Sep 4, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kelsang Wangchuk

    System.Timers.Timer vs. System.Threading.Timer

    Kelsang Wangchuk, Jul 31, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    713
    Kelsang Wangchuk
    Jul 31, 2003
  2. Replies:
    1
    Views:
    1,599
    Steve C. Orr [MVP, MCSD]
    Feb 22, 2005
  3. Simon

    page timer, or redirect timer

    Simon, Nov 4, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    11,200
    Bruce Barker
    Nov 4, 2005
  4. news.rz.uni-karlsruhe.de

    Client-side documentation for Ajax Timer

    news.rz.uni-karlsruhe.de, Feb 28, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    403
    news.rz.uni-karlsruhe.de
    Feb 28, 2008
  5. Replies:
    8
    Views:
    494
    Jorgen Grahn
    Jul 15, 2013
Loading...

Share This Page