Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any way to bypass Validating event when closing form?
Message
From
11/02/2008 20:02:07
 
 
To
11/02/2008 16:03:12
John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01291525
Message ID:
01291670
Views:
6
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform