Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

combobox duplicate items unable to select. events messups, disturbing user entry sequence and losing user selection

$
0
0

Hi,

i am unable to select the duplicate item in the combobox. i tried with .net 2.0 framework. ( don't know for framework 4.0) used vs 2010.

i have added items in combobox as sample

bob - 1

chris - 2

chris  - 3

chris -4

don -5

1,2,3,4,5 are the values of the names.(which is value member and names are display members comes from a datasource, a datatable)

i have added auto complete feature.

i tried to select the second / third name(i.e., chris with value 3/4 ). i selected it by pressing down arrow key in the combobox one by one. after selecting either 3/4 , if i press tab to move to next field(in order finish my selection and move to next field) . the combobox selected value only shows 2 ( not 3 or 4). the selected value changed trigger and selected index trigger  raises, as i press tab.

I have also added code for keyup event if e.keycode=keys.enter then move to next field. since here (local people preference .)for navigation uses enter key for next field., so that both tab/ enter key can be used.

tried with the keyup/without the keyup

instead of pressing tab key if i press enter also , only the first chris is selected.

so i am unable to select the chris of value 3 / 4.

it seems like bug.

events messups, disturbing user entry sequence and losing user selection

please reply,

thanks and regards

k.mohan raj


Mohan


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>