John Baird
Coatesville, Pennsylvania, United States
General information
Category:
The Mere Mortals .NET Framework
Hi Darren:
I can reporduce this problem at will and I've reported this problem to MereMortals. Kevin says he cannot reproduce the error, and an unreproducable error is next to impossible to find/fix. What I've done is to leave it as a combobox (not set to drop down list) and then added code to the keypress event to prevent typing in the combo box. This seems to work well as a work around.
>Hi
>
>This is the second post regarding an issue like this i have read, and i appear to be experiencing a similar (note similar) problem.
>
>The problem that i am experiencing with a combo set to DropDownStyle = DropDownList, is when attempting to execute code based on the SelectedIndexChange event. I am trying to update another field on the current row when the selection in my combo box changes. The update to the field (not displayed on form) occurs fine but my combo box refuses to maintain the selected value and just shows as blank.
>
>The combo still maintains the list items but no selection. Moving focus away from the combo and returning focus to it, and repeating the process, the combo now persist the user selection. WTF???
>
>Is there some underlying wierd thing happening here to our combos??? Can anyone shed some light on what is going on with our combos?
>
>Thanks in advance.
>
>Darren
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only