BUG: The SelectionMode poperty of the data-bound ListBox control or of the CheckedListBox control does not prompt you to provide a valid value (827047)
The information in this article applies to:
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# .NET (2002)
SYMPTOMSWhen you set the SelectionMode property of the data-bound ListBox control or of the data-bound CheckedListBox control to NONE in the Microsoft Windows Form Designer, you receive the following
error message: Invalid property value If you
click OK in the message box, you set the SelectionMode property to NONE. However, you might not expect the SelectionMode property to be set to NONE. The Form Designer does not prompt you to provide a valid
value. Note When you run the Windows application after you set the SelectionMode property to NONE, you receive the following error message: An
unhandled exception of type 'System.ArgumentException' occurred in
system.windows.forms.dll
Additional information: Cannot call this
method when SelectionMode is SelectionMode.NONE. STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
REFERENCESFor more information, visit the following Microsoft Web
site:
Modification Type: | Minor | Last Reviewed: | 2/9/2006 |
---|
Keywords: | kbvs2005swept kbvs2005doesnotapply kbvs2002sp1sweep kbDataBinding kbProperties kbWindowsForms kbListBox kbForms kbCtrl kbControl kbbug KB827047 kbAudDeveloper |
---|
|