473,405 Members | 2,404 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,405 software developers and data experts.

Stop Watch - Timer ( ASP.net) C#

Hi all

I have developed an online testing system, Its time based test, I used AJAX TIMER to show the user that how much time left for the test, But when AJAX timer refresh in every sec, it makes problem,
My Question is
Want a timer class which don't use the AJAX timer But its a timer itself, How can i do it

Please I want it in C#
Thank You
aliusmankhan
Jul 20 '08 #1
6 7176
kenobewan
4,871 Expert 4TB
What problem are you having with Ajax there may be a solution? One possible fix is MaintainScrollPositionOnPostback="true", there are others including using panels.
Jul 20 '08 #2
What problem are you having with Ajax there may be a solution? One possible fix is MaintainScrollPositionOnPostback="true", there are others including using panels.

No i dont have the problem of scrolling etc, my prob is very huge to tell, thats y i just need a timer class in C# ,
I also used
TimerCallback
System.Threading.Timer

But i also wont work with me...
Kindly help
Jul 21 '08 #3
kenobewan
4,871 Expert 4TB
Here is an article that may help:
AJAX Application Architecture, Part 1
Jul 21 '08 #4
Here is an article that may help:
AJAX Application Architecture, Part 1
yes that was a good article but dear friend , i need it in C# not in VB
Jul 21 '08 #5
Plater
7,872 Expert 4TB
yes that was a good article but dear friend , i need it in C# not in VB
Then convert it? .NET is .NET.
Jul 21 '08 #6
Then convert it? .NET is .NET.
Can u post the class here ? and also tell me the details
Jul 21 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Geoff | last post by:
Hey.. I'm having problems with stopping this timer from outside the 'runTimer()' class.. i have no problems calling 'cancel()' from inside the run() method but I want to be able to stop the Timer...
2
by: Job Lot | last post by:
how can i create a stop watch using vb.net i am performing a data extraction job using windows forms and want to display time elapsed on the form. how can i do it? Thanks
0
by: Saradhi | last post by:
Hi, I wanted to stop the VS.NET Window from closing inside my C# AddIn. I Know that OnBeginShutdown() funciton will be called whenever the user tries to close the VS.NET window. I want to...
8
by: Matt Theule | last post by:
While stepping through an ASP.NET project, I found that data was being inserted into my database even though I was not stepping through the code that inserted the data. I have a single page with...
4
by: Philip Wagenaar | last post by:
I have a Queue that contains filenames. I have a System.Timer with it's interval set to 200. I load the Queue up with 35.000 files. I start the Timer. On Timer.Elapsed I take a file from the...
1
by: Ismail | last post by:
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...
10
by: Zytan | last post by:
I made a program using the Timer class, and I start the timer with Timer.Start(), but don't stop it with Timer.Stop(), and I assumed this was ok, but, Process Explorer informs me, after running it...
4
by: Rajneesh Chellapilla | last post by:
I wrote this program. Its kinda of strange when I make a reset function reset(){c=0} its doest reset the setTimeout. However if I directly pass c=0 to the onclick button it does reset the timer. What...
11
by: uzairmemon | last post by:
Any one Have coding of Reverse stop watch?
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.