Solved

prevent multiple submissions

Posted on 2004-08-25
3
532 Views
Last Modified: 2008-01-09
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
Comment
Question by:loyaliser
3 Comments
 
LVL 2

Accepted Solution

by:
claygarrett earned 500 total points
ID: 11895601
0
 
LVL 28

Expert Comment

by:mmarinov
ID: 11895603
0
 
LVL 17

Expert Comment

by:AerosSaga
ID: 11895666
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question