Is there a way to close the webdropdown when I am done selecting without clicking somewhere to make it close? Can I do this with Javascrptand a mouseout? If so, how?
Thank you.
Hello kissthecook,
I was just wondering did you have a chance to try my suggestion. If you still need any assistance on the matter, please do not hesitate to ask.
Hello kissthecook ,
I have been looking into your requirements and I can suggest you handle the mouseleave event of the DropDownListContainer and manually close the drop down in it. In order to do this you can handle the Initialize event of the WebDropDown as follows:
function init(sender, args) {
$(".igdd_DropDownListContainer").bind("mouseleave", function () {
sender.closeDropDown();
});
}
<ig:WebDropDown ID="WebDropDown2" runat="server" Width="200px" ClientEvents-Initialize="init"
EnableMultipleSelection="True" EnableClosingDropDownOnSelect="false" >
If you need any additional assistance on the matter please let me know.