473,383 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

how to stop asp:Timer

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

Mar 12 '07 #1
1 9606
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
Mar 12 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mike | last post by:
Hi, I need help writing a script that checks to see how long an asp application has been active on the server. The basic logic is - If the timer and application exceed 60 minutes then refresh the...
2
by: andrewcw | last post by:
I am trying to do a windows service with C#. I am using as a base the VB.NET article in VS, but I thing the WITHEVENTS timer notation is a delegate. Can anyone provide sample code & anh hints. ...
3
by: jam | last post by:
Dear all, I am wrtiing a console application and doing some test on timer, the below is my sample code I got from some site, but I cannot make it work... Error is 'System.Timers.Timer' does not...
2
by: John David Thornton | last post by:
I've got a Windows Service class, and I put a System.Threading.Timer, and I've coded it as shown below. However, when I install the service and then start it in MMC, I get a peculiar message: ...
1
by: Jonadabe PT | last post by:
Hi there, I'm searching a possible way to do something like this, but in .aspx: VBscript <% Dim startTime, abc startTime = timer() abc = Round((timer - StartTime)*1000) Response.write...
1
by: Geagleeye | last post by:
Hi.... i do have a little problem.....i have 2 difrent functions in my asp pages... function1 and function2. funktion 2 has to be executet 15sec after function 1 had been
1
by: enzoJava | last post by:
Hii, I have this program and i need help on printing out the total time, can anyone help me on this? If there is a better way to do this let me know Thnx import javax.swing.*; import...
0
by: bg_ie | last post by:
Hi all, I'm writing a .net Com object to read messages from an external bus. Also, under certain situations, I output messages to the bus in order to generate bus load, for testing purposes. An...
2
by: Elliot | last post by:
My program use a timer to 'refresh' a method "a" every several seconds, private void a(object sender, EventArgs eArgs) { Timer T1 = new Timer(); T1.Interval = 100000; T1.Start(); T1.Tick +=...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.