UpdatePanel
Disable Button on Submit (Prevent multiple submits)
Submitted by Ben Hodson on Mon, 07/14/2008 - 16:21
When a user clicks a button on a web page that submits the page (or does an AJAX asynchronous submit), depending on the load on the server and latency, the user may have to wait upwards of many seconds in order for the process to complete. During the time, a user may think something has not worked and may attempt to click the button again, even multiple times. If you are doing complex operations, it could cancel these actions and start over. Worse yet, if you are inserting items in a database, it could cause duplicate entries or other concurrency issues.
Popular Articles
Last viewed:
- Fixing Relative Paths in C# ASP.NET When Using Url Rewriting
- Get the list of ODBC data source names programatically using C#
- Clustered Index vs. Non-Clustered Index in SQL Server
- Crystal Reports and ASP.NET
- Contact Us
- Windows Server 2003 Configure RRAS (Routing and Remote Access Service) Site to Site VPN

Recent comments
13 hours 10 min ago
1 day 12 hours ago
3 days 14 hours ago
4 days 3 hours ago
4 days 14 hours ago
4 days 20 hours ago
4 days 23 hours ago
1 week 20 hours ago
1 week 1 day ago
1 week 4 days ago