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:
- Fix for Firefox click() event issue
- How to Slipstream Windows XP Service Pack 3 Installation
- Silverlight Memory Leak DataGrid, DataForm, DataTemplate, etc...
- Contact Us
- SQL Create Table Add Description to Column
- Performance benchmarks for LINQ vs. SqlDataReader, DataSet - LINQ Compiled Queries: Part 2


Recent comments
1 day 1 hour ago
1 day 7 hours ago
1 week 1 day ago
1 week 1 day ago
1 week 2 days ago
1 week 5 days ago
2 weeks 1 day ago
2 weeks 1 day ago
2 weeks 1 day ago
2 weeks 1 day ago