Groups | Blog | Home
all groups > c# > june 2005 >

c# : DropDownlist Problem again



Paraki
6/20/2005 11:36:04 PM
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.
--
LF
6/21/2005 2:06:03 AM
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


[quoted text, click to view]
Paraki
6/22/2005 4:11:02 AM
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.
--
K_


[quoted text, click to view]
AddThis Social Bookmark Button