473,698 Members | 2,883 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to execute a javascript function after a succesfull ajax:timer Tick?

Hi there,

im using ASP.NET AJAX to update a GridView, using the UpdatePanel and
the Timer.
What I would like is to update a Label on the page with the last time
of update. But it should be the time on the users computer and not the
time on the server. Therefore i need to have a javascript function
update the label for me, but i cant find a way to do this after the
Timer Tick has occured.

Anybody have a solution for this?

.. Martin Klopp Jensen

Mar 13 '07 #1
0 1219

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
6198
by: Victor | last post by:
I need a JavaScript timer - I have five events I need to time, that can be triggered by a mouseclick event, or a keypress event. Each event is separated by only one to two seconds. The first event (mouse or key) starts the timer. Then, each time the event (mouse or key) occurs, I need to display the present time in the corresponding spot on the screen (so when it's over, the screen is displaying five times for each corresponding event)....
4
1732
by: Jim | last post by:
How do I create a javascript timer to do the following: After the "submit" button is clicked on the website, wait 5 seconds and then show the button named "continue." Any help would be greatly appreciated!!!
3
12348
by: nawhaley | last post by:
Ok I'm working on a timer that will work over multiple pages. Basically what this means is I need the timer to start on page one and give the user x amount of time to complete a quiz that spans several pages. At the end unless they completed the quiz it then pops up a message stating that they took to long to complete the quiz. I already have a timing function working but the issue is when you go to the next page it obviously stops running. I've...
10
2459
by: jason_box | last post by:
Hello, I was wondering if there was a way to have a javacript be activated by an input button that would call to a cgi program and querey every 10minutes and the cgi would update the page without additional user interaction. I found some timer stuff in js but it had to do with delays and not what I was really looking for. Thank you in advanced.
0
599
by: kloppie | last post by:
Hi there, i want to update a Label after a succesfull Timer Tick, and the time to use is the users local time. Therefore I want to execute a Javascript function after the Tick has occured - anybody knows how to do that? .. Martin Klopp Jensen
0
1083
by: hzq3554055 | last post by:
i am novice,guess the following code can work combineing with server- side code ,but chaos ï¼›somewhere to me is great<script> var relationObject = {timer: null, key: ""}; function TopicToString(a) { relationObject = a; var dl = document.getElementById("relationTopic"); //dl.style.display = a.length>0 ? "" : "none"; var dd = document.getElementById("relationList"); dd.innerHTML = "";
2
8055
by: webdevaccount | last post by:
Hello, I am using a Timer and an UpdatePanel control. The Timer is set to 1000 milliseconds, and therefore results in many server request timeouts error (logical). The Server Request Timeout error does not result in a redirection to a blank error page, but rather a pop-up message describing the error appears. My Question: Is there any way to catch this error and prevent it from being displayed?
1
1634
by: Meels Lilbok | last post by:
Hi Im using AJAX UpdatePanel, Timer and Label to display "counter clock" Problem is - sometimes the counterclock "jumps" or "freezes". For example it counts normaly every second 10,9,8 then freezes and counts fast 7654. Not every time and randomly.
0
8610
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8902
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4623
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2339
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.