Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any way to bypass Validating event when closing form?
Message
De
11/02/2008 16:03:12
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
11/02/2008 15:48:43
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Divers
Thread ID:
01291525
Message ID:
01291607
Vues:
8
>Not sure of your specific scenario but, in general, the trick is in remembering that the validation of a control that is *losing* focus only occurs if the control *receiving* the focus has 'CausesValidation' set to true.
>
>OK - that was it. Thanks again. I looked all this crap up in MSDN before posting here, and the topic on Control.Validating Event never mentions this fact. The help might be a little more helpful if it mentioned these things. Maybe we need a Hacker's Guide for .NET < g >


Can you imagine the size of that one? The vfp one was a telephone book, this one'd be an encylcopedia...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform