Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forcing a timer to execute without waiting for the inter
Message
De
03/01/2005 14:33:47
 
 
À
03/01/2005 14:31:36
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
00973882
Message ID:
00973906
Vues:
16
>I wouldn't force the event. I would prefer that your TimerEvent handler calls a method that does the work. Then, in the page load you can also call the same method, rather than forcing the event.

At load time, what I did was to set the timer to 1 second. With the combination of enabling it, it will go in the event immediately. Then, at the end of the timer, I set the proper interval based on a setting we have in an INI file.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform