0

The purpose here is to prevent users from clicking the button multiple times during the submit/click. I've tried the different solutions for a Button control but they do not apply to an ImageButton.

Dwight Sands
  • 111
  • 1
  • 8

1 Answers1

0

Try the following code:

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

This will disable the button at the client side as soon as it is pressed. (The syntax may be off - I can't test this code right now.)

OnoSendai
  • 3,960
  • 2
  • 22
  • 46