Quick and dirty:
use javascript to set the button to invisible or disabled. If you aren't
using AJAX, when the page reloads, the original state of enabled or visible
will be restored.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog:
http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"John Smith" <jo********@microsoft.comwrote in message
news:Up***************@news.siol.net...
>
When my user click on Submit button, my form submits. The problem is that
new page takes long time to show up, due to lot of processing on the
server side after first submition. So, somethimes my users clik browser's
refresh button (F5) which submits again my form. Is there any way to
prevent second submition when refresh (F5) is being used?
Thank you in advance.