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 20:02:07
 
 
À
11/02/2008 16:03:12
John Baird
Coatesville, Pennsylvanie, États-Unis
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:
01291670
Vues:
7
>>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...

Naah, one skinny little Blu-ray disc.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform