Information générale
Catégorie:
Codage, syntaxe et commandes
Hi,
I have a checkbox on my form.
I have some code in its click event.
I also set the checkbox value to checked or unchecked based on a TRUE / FALSE value that I return from the database.
I realized that when i try to set the checkbox value from the database, the click event of the checkbox is fired. I dont want this to fire when I set the value of the checkbox value from the database.
I only want the Click event of the checkbox to fire when the user click to either check or uncheck the Checkbox.
Any ideas on how to accomplish this?
Thanks,
Alvin
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement