Working with ASP.NET AJAX Timer Control
page 3 of 5
by Nidal Arabi
Feedback
Average Rating: 
Views (Total / Last 10 Days): 34611/ 58

About Timer Control

The Timer control performs post backs at defined intervals. If you use the Timer control with an Update Panel control, you can enable partial page updates at a defined interval. You can also use the Timer control to post the whole page.

Simply stated, it periodically updates the contents of one or more UpdatePanel controls without refreshing the whole Web page.

You can also run code on the server every time that a Timer control causes a post back. Should you need more information on how to use an UpdatePanel please revert back to my article on this topic.

In our article today we are going to create a kind of a fortune teller. This fortune teller will have ten sentences that will present them randomly. We will also be using an UpdatePanel.

It is also worth noting that in order to be able to create this solution; you have to revert back to the same article cited above on what is needed to be able to continue applying what is described in this article. If your computer is already setup with Microsoft AJAX Extensions, then proceed directly to the next paragraph.


View Entire Article

User Comments

Title: ajax timer in asp.net   
Name: rashmi uniyal
Date: 2011-11-08 11:46:44 AM
Comment:
i m creating website for online examination in asp.net. I want to know how to start a timer after a button click and and how to close application after 5 minutes. please help
Title: thanks alot   
Name: mona el saka
Date: 2010-12-05 7:45:25 AM
Comment:
i need your help here too
can i add apage i make it with asp.net ajax enabled website to
anormal asp.net web site project .i try to take apage i made as ajax web site to another asp.net project give ameesage box say the source of this page is not found
if any one have any help just tell me
Title: Nice Work   
Name: Ahmed Moosa
Date: 2009-05-16 5:25:48 PM
Comment:
Thanks Nidal Arabi
That is very Nice Work.
I learn From you Something Good .
Title: Nice Article but problem running it   
Name: Ujjwal B Soni
Date: 2008-09-15 2:53:40 AM
Comment:
Hi,

The article is very nice but i have problem running it. The timer is not activated, dont know whats the problem !!!

Regards,

Ujjwal B Soni






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-25 5:46:15 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search