FIX: The value of the SelectedIndex property of the ComboBox control does not change when you set the text by using the Text property
This article has been archived. It is offered "as is" and will no longer be updated.
The value of the SelectedIndex property of the ComboBox control does not change if you set the text by using the Text property in the Microsoft .NET Framework 1.1. Additionally, the text of the ComboBox control appears as an empty string when you access the Text property of the ComboBox control.
If you try to put a value that does not exist in the ComboBox control by using the Text property, the ComboBox control reverts to the last value that was selected from the list.
To resolve this problem, obtain the latest service pack for the Microsoft .NET Framework 1.1. The following file is available for download from the Microsoft Download Center:
The Microsoft .NET Framework 1.1 Service Pack 1
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in the Microsoft .NET Framework 1.1 Service Pack 1.
In the .NET Framework 1.0, you can extract the value that you put in the Text property after you update the data in the ComboBox control. You cannot do this in the .NET Framework 1.1. However, the value in the ComboBox control display area in the .NET Framework 1.1 shows the correct information.
For additional information about standard terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updatesFor additional information about why the ComboBox does not clear, click the following article number to view the article in the Microsoft Knowledge Base:
327244 BUG: ComboBox does not clear when you set SelectedIndex to -1For additional information about setting the value in code, click the following article number to view the article in the Microsoft Knowledge Base:
327555 BUG: The Text property of a data-bound ComboBox returns an incorrect value when you set the value in codeFor additional information, visit the following Microsoft Developer Network (MSDN) Web sites:
Article ID: 839616 - Last Review: 01/17/2015 08:51:42 - Revision: 2.3
Microsoft .NET Framework 1.1
- kbnosurvey kbarchive kbqfe kbhotfixserver kbnetframe110sp1fix kbcombobox kbbug kbfix kbnetframe110presp1fix KB839616