how can i create a countdown timer using C# ?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi guys,

Im about to start development on a countdown timer that will display the time left for a particular product.

<div class="prd_countdown <font id="counter_index_page_85561 the format will be like this - 00:00:11.

</font> <font id="counter_index_page_85561 I have been watching the AJAX video tutorials so im thinking of approaching this by setting an updatePannel with a timer with a tick event every 1000ms. Inside the updatePannel i could have a label that is attached to a C# method that contains the countdown logic



2 questions...


1: is this a good way forward or not.

2: can anyone suggest data time classes/methods that i will find useful so for example an admin can enter a start date and an end date and the timer will show the days, hours, minutes and seconds remaining.

the site im trying to emulate is this ... http:/// http://www.telebid.com/ looks like they have AJAX countdown timers too.

thank you for your help

Truegilly
</font> <hr size=1 width="25%" align=left>PHP & Java programmer thats started to use .NET and C#

View the full article
 
Back
Top