Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #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

Hi,

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.

Please.




Regards
Bhaskar Kiran
Mail:wunnavabk@gmail.com
  #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
Default

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:

<META HTTP-EQUIV=Refresh CONTENT="10">

The above will refresh the page every 10 seconds


Regards
Mike

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:34 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.