Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 24th, 2006, 02:23 AM
Registered User
 
Join Date: Nov 2006
Location: Faridabad, Haryana, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Timer control in asp.net

Hello!

I want to use timer control in web application..
Please if you have any idea about use it or please
tell me the site where i can find it..

thanking you

Rajnish Kumar Pandey
  #2 (permalink)  
Old November 24th, 2006, 05:16 AM
Friend of Wrox
Points: 1,935, Level: 17
Points: 1,935, Level: 17 Points: 1,935, Level: 17 Points: 1,935, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2004
Location: United Kingdom
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi

There is no inbuilt timer control in web applications, however you can use the javascript method to program on basis of time, eg as below (in javascript):

window.setInterval("yourmethodname()","1000");

This will called your method in 1000 milliseconds, i.e. after 1 sec.

Regards
Mike

Fortune favours the brave, so don't regret on missed oppurtunities.
  #3 (permalink)  
Old July 17th, 2007, 11:35 PM
Registered User
 
Join Date: Jun 2007
Location: Pune, Maharastra, India.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Pramods
Default

were to call window.setInterval("yourmethodname()","1000");
so that it will be called after 1 sec
  #4 (permalink)  
Old July 18th, 2007, 02:13 AM
Friend of Wrox
Points: 1,935, Level: 17
Points: 1,935, Level: 17 Points: 1,935, Level: 17 Points: 1,935, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2004
Location: United Kingdom
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

This is a javascript method, you can create a javascript function to use this method, call it on form load, or any button click event etc.. from client side.

Regards
Mike

Don't expect too much, too soon.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Timer ( ASP.net) C# aliusmankhan ASP.NET 2.0 Professional 6 July 21st, 2008 11:21 AM
Timer in ASP.net 1.1 wunnavabk ASP.NET 1.0 and 1.1 Professional 1 May 25th, 2007 02:36 AM
Timer Control joebob_houston Access VBA 3 March 12th, 2007 08:31 AM
Timer elapse event in asp.net inimay Visual Studio 2005 0 December 19th, 2006 07:57 AM
Implement Timer in asp.net Malabika Das ASP.NET 1.0 and 1.1 Professional 2 November 3rd, 2005 12:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.