Hi,
Consider i have selected any item in webdropdown through UI. Then in Button Click iam doing
wddCAType.SelectedItemIndex = 0;
But Still DropDown does n't lose the focus on previously selected item through UI.
what to do to lose focus on previously selected item.
Hello,
there is no focus set on the previously selected item. Did you mean the css class applied? If you are trying to set selected item index on the client side, you can use selectItemByIndex method.Regards,Nikolai Dimitrov
Hi ,
My Problem is Consider I have selected one item in the webdropdown from UI . After Selection Iam clicking on one button. In the Button Click iam doing the following
int count = wddEmp.SelectedItems.Count; // Here Count Value is 1
wddEmp.SelectedItems.Clear();
count = wddEmp.SelectedItems.Count; // Here also count value is 1 but it shoul come 0 na.
That means its not clearing the selected items. So How to clear the items selected in the webdropdown using code.