How to prevent a button firing click directevent twice if the button has focus and you quickly press Enter two times?
I've put a code-behind variable to prevent the event running twice, but the code excecution is faster than the start of second event, so the code runs again. Also tried to set a hidden field and use the before handler to check the valur of it, without success.
Any hint?