c# - How can you disable a.NET ImageButton control on the client side when the ImageButton has an onClick event handler? -


the purpose here prevent users clicking button multiple times during submit/click. i've tried different solutions button control not apply imagebutton.

try following code:

imgbutton.onclientclick = "this.disabled = true;"; 

this disable button @ client side pressed. (the syntax may off - can't test code right now.)


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -