Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 538
  • Last Modified:

prevent multiple submissions

when using the <asp:button> tag, how do i prevent the user from accidentally submitting the form multiple times if they click on button 2/3/more times?

please provide answer for case where web page has multiple submit buttons, as i have a page configured.

i tried the javascript onclick handler but it does not work because it conflicts w/ the server-side onclick call to the server-side function.

thanks!
0
loyaliser
Asked:
loyaliser
1 Solution
 
AerosSagaCommented:
If you have ASP.NET validators you will have to massage them if you use this apporach see here:

http://experts-exchange.com/Programming/Programming_Languages/Dot_Net/Q_20768006.html

Just a heads up.

Regards,

Aeros
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now