how to stop asp:Timer

Discussion in 'ASP .Net' started by Ismail, Mar 12, 2007.

  1. Ismail

    Ismail Guest

    Hello,

    I have webform and usercotnrol with asp:Timer on it. I am in tick
    event doing count down of timer. What i want to do is when the
    countdown is complete stop the timer. I tried Timer1.Interval=0; but
    i get error. How do i stop timer once a particular condition is
    reached.

    Oh yes i have the whole thing in ajax.net update panel.

    Regards

    Ismail
    Ismail, Mar 12, 2007
    #1
    1. Advertising

  2. Ismail

    bruce barker Guest

    set Enabled to false.

    -- bruce (sqlwork.com)

    Ismail wrote:
    > Hello,
    >
    > I have webform and usercotnrol with asp:Timer on it. I am in tick
    > event doing count down of timer. What i want to do is when the
    > countdown is complete stop the timer. I tried Timer1.Interval=0; but
    > i get error. How do i stop timer once a particular condition is
    > reached.
    >
    > Oh yes i have the whole thing in ajax.net update panel.
    >
    > Regards
    >
    > Ismail
    >
    bruce barker, Mar 12, 2007
    #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. Matt Theule

    Stop Debugging doesn't stop in ASP.NET

    Matt Theule, Jul 23, 2003, in forum: ASP .Net
    Replies:
    7
    Views:
    716
    Matt Theule
    Jul 24, 2003
  2. Kelsang Wangchuk

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

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

    page timer, or redirect timer

    Simon, Nov 4, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    11,181
    Bruce Barker
    Nov 4, 2005
  5. Replies:
    8
    Views:
    476
    Jorgen Grahn
    Jul 15, 2013
Loading...

Share This Page