Hello,
I have three listboxes: ListA, listB, listC.
ListC is updated according to listB choice.
If I click on ListA, my SelectedIndex takes a value.
If I click on ListB just after, I want to set listA index to -1:
listA.SelectedIndex = -1
I can check in the watch window that it it set to -1 but... in reality my ListA' SelectedIndex is set to 0 (first item in the list).
So if I action my search clicking on a button, I'm not able to know if ListA or ListB has been selected as the two indexes are different from -1.
Does anybody already have the same problem ? It drives me crazy, help !
I have three listboxes: ListA, listB, listC.
ListC is updated according to listB choice.
If I click on ListA, my SelectedIndex takes a value.
If I click on ListB just after, I want to set listA index to -1:
listA.SelectedIndex = -1
I can check in the watch window that it it set to -1 but... in reality my ListA' SelectedIndex is set to 0 (first item in the list).
So if I action my search clicking on a button, I'm not able to know if ListA or ListB has been selected as the two indexes are different from -1.
Does anybody already have the same problem ? It drives me crazy, help !