Gaia Ajax Timer Example
This is our Ajax Timer Control. The Gaia Ajax Timer will poll the server raising an event handler
every n'th second according to which interval you have configured it to do so. It can be disabled and enabled
from the server and from the Event Handler you can do whatever you wish with other controls on the page. Including
creating new controls and update existing ones. In this sample we have also attached a Gaia Slider just to display
the value in it.
Server CPU Usage (updates every 2 sec):
-
The CPU Usage information is only based on random data
Try to click the Button to disable and enable the Timer. Use the Timer if you need to periodically check
the server for changes you need to display back to the user. The Ajax Timer is often used in e.g. Chat Clients
like our own Ajax Chat Control for polling the server to check for new messages.