Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
775
Focus in Dropdown
posted

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.

 

Parents
No Data
Reply
  • 24671
    Verified Answer
    posted

    Hi,

    You are confusing Activation with Selection.

    You are actually clearing the selection, but what you see is the Active style applied, not the selected style. 

    An active item is used in keyboard navigation / multiple selection and if you don't want active style to be applied, you can just clear the contents of the .igdd_ListItemActive class in the styleset.

    Hope it helps,

    Angel 

Children
No Data