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
Post a Comment