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

Using 'OR' and 'AND' in SQL Server -

c++ - NetBeans Remote Development with additional configuration -

visual studio - TFS will not accept changes I've made to a Java project -