How to make radcomboBox open dropdownlist on mouseover and close the list when mouse is out the combobox dropdownlist?
I did the following :
and in code behind
I did the following :
<
script
type
=
"text/javascript"
>
function ToggleDropDown() {
var combo = $find("<%= RadComboBoxSearch.ClientID %>");
combo.showDropDown();
}
function closeDropDown() {
var combo = $find("<%= RadComboBoxSearch.ClientID %>");
combo.hideDropDown();
}
</
script
>
RadComboBoxSearch.Attributes.Add(
"onmouseover", "ToggleDropDown();")
RadComboBoxSearch.Attributes.Add(
"onmouseut", "CloseDropDown();")
but by doing that when mouse is over the combo the list opens but when i go with mouse over the list it closes without being able to select anything.I need to close the combolist when mouse is out the combolist and not out the combo itself