BUG: Focus on a control that does not support the CausesValidation property suppresses validation of unvalidated controls in the user control (814350)
The information in this article applies to:
- Microsoft .NET Framework 1.1
- Microsoft .NET Framework 1.0
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# .NET (2002)
SYMPTOMSThe pending validation of the controls in a user control is
suppressed if the following conditions are true:
- There are multiple controls in the user
control.
-and- - In the user control, you move from a control with the CausesValidation property set to False to another instance of the user control.
CAUSEWhen you move the focus out of the user control, only the
currently active control in the user control is checked for CausesValidation. If that active control has CausesValidation set to False, the remaining unvalidated controls of the container control are
not checked for CausesValidation.STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.REFERENCESFor more information about user controls, see the following
.NET Framework software development kit (SDK) documentation:
Modification Type: | Minor | Last Reviewed: | 3/7/2006 |
---|
Keywords: | kbvs2005swept kbvs2005doesnotapply kbvs2002sp1sweep kbWindowsForms kbControl kbCtrl kbValidation kbbug KB814350 kbAudDeveloper |
---|
|