FIX: You can close a form by using the Close button even if the Cancel property of a Validating event is set to True on an object in a Windows Forms application in the .NET Framework 1.1 (886686)
The information in this article applies to:
- Microsoft .NET Framework 1.1
NoticeSYMPTOMSIn the Microsoft .NET Framework 1.1, you may have a control that is contained within a UserControl object in a Windows Form. When you set the Cancel property to True in a Validating event on the control, you expect not to be able to close the form by using the Close button. However, this operation has not been disabled. Therefore, you can close the form by using the Close button.RESOLUTIONThis problem has been fixed in the .Net Framework 1.1 SP1 Rollups for System.Windows.Forms.dll package.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
887540
Description of the .NET Framework 1.1 post-Service Pack 1 hotfix rollup package for System.windows.forms.dll
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 4/7/2006 |
---|
Keywords: | kbQFE KBHotfixServer kbControl kbWindowsForms kbNetFrame110preSP2fix kbBug kbfix kbprb KB886686 kbAudDeveloper |
---|
|