Article ID: 827047 - Last Review: April 16, 2007 - Revision: 1.5 BUG: The SelectionMode poperty of the data-bound ListBox control or of the CheckedListBox control does not prompt you to provide a valid valueOn This PageSYMPTOMSWhen 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 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.
MORE INFORMATIONSteps to Reproduce the Behavior
REFERENCESFor more information, visit the following Microsoft Web
site: http://msdn2.microsoft.com/en-us/library/system.windows.forms.selectionmode(vs.71).aspx
(http://msdn2.microsoft.com/en-us/library/system.windows.forms.selectionmode(vs.71).aspx)
APPLIES TO
| Article Translations
|

Back to the top
