DropDownlist Problem again

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.
 
G

Guest

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
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top