DropDownlist Problem again

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have 4 items in a dropdownlist. After selecting the item the dropdownlist
gets disabled. this operation is performed in selectedIndexChangeCommited
event.

Now the problem is, I hignlight the 3rd item and tab out from the list. The
1st item is getting selected and the list becomes disabled.
Anyone knows why this is happening?

Any help will be appreciated.
Thanks in advance.
 
Hi,
As I understand, the first item in the list will always be the selected one.
Try performing a check on what the user selected, before you disable the
dropdown in the selectedIndexChange method of your dropdown.

Cheers,
LF
 
Hi,
The selected index is showing as 3 which I have selected, but still the
first item gets selected and the control is getting disabled.
 
Back
Top