Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any way to bypass Validating event when closing form?
Message
 
À
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:
01291613
Vues:
13
>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 >

A Hacker's Guide for .NET. Great idea! I bet it will weigh 400 pounds and kill a lot of trees to publish it. :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform