Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 May 24th, 2007, 11:20 PM
Registered User
Join Date: May 2006
Location: Bangalore, Karanataka, India.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to wunnavabk
Default Timer in ASP.net 1.1


I need help on using timer control in asp.net 1.1.
my issue is like this:

I have a form in which i have a data grid control. which will retrieve all my open orders. to fetch the orders i am using a function. Now i have to place a timer control which will refresh the page every min.

as i am calling the function in the page load so i want to refresh the page. or simply we can say i want to refresh the Data Grid to get the updated values.

Please help me ASAP. Bcoz its very urgent issue for me.


Bhaskar Kiran
  #2 (permalink)  
Old May 25th, 2007, 02:36 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

Well, for this purpose, you can use the javascript's window.setInterval method. Alternatively, you can use the META tag which will refresh the page after a given interval, e.g. as below:


The above will refresh the page every 10 seconds


Fortune favours the brave, so don't regret on missed oppurtunities.

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 control in asp.net raj2max ASP.NET 1.0 and 1.1 Basics 3 July 18th, 2007 02:13 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
Timer issue in ASP chmosiii Classic ASP Professional 10 January 31st, 2005 01:00 PM

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