Count down in asp.net

I need to give the count down as shown in the following link for each item using asp.net with c#.http://www.bidrivals.com/us/Please help me out from this problemThanking you Waiting for your valuable thoughts.……………………………………. You need a webservice that can give …

via Asp.Net Developed Tutorials » Search Results » ajax:

Count down in asp.net

I need to give the count down as shown in the following link for each item using asp.net with c#.
http://www.bidrivals.com/us/
Please help me out from this problem
Thanking you Waiting for your valuable thoughts.
…………………………………….

You need a webservice that can give the state (time left, current price, #bids etc) of all the items visible on the page back to the client.
The client uses typically AJAX / JSON to retrieve the state of all the items on the page and then jquery to update the countdown timers/bids on each item on the page.
…………………………………….

You can use setInterval method to implement a count down timer.
You can get the initial time from the server. And then use javascript to get the count down timer working.
…………………………………….

To do this you could use ajax. http://www.asp.net/ajax/
Specifically you could use this control http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/AlwaysVisibleControl/AlwaysVisibleControl.aspx
…………………………………….

That site is using AJAX, as you can see from the regular refreshes that occur to the individual timers. You can create a web service or web method to consume. If the times don’t need to be refreshed during the life of the page, then I would stick with a simple JavaScript countdown using jQuery or the link the @kieran shared.

For more info: Count down in asp.net

Asp.Net Developed Tutorials » Search Results » ajax

Count down in asp.net

Share this post:

Related Posts

Leave a Comment