Hi,
I have my web drop down configured for auto filtering on the client, and I want to trap when the user presses the enter key and force the drop down to close when this happens.
My first thought was doing so with this script:
function wdd_ValueChanging(sender, eventArgs) {
window.status = eventArgs.get_browserEvent().keyCode;
if (eventArgs.get_browserEvent().keyCode == 13) {
sender.closeDropDown();
}
I have this some question. It seems like a bug for the enter key not to close the drop down.
Hi guys,
Enter automatically closes the container by default. Not sure why it is not working in your case. Do you happen to have this property set:
EnableClosingDropDownOnSelect="false"
It should be True.
Thank you,
Angel