D
Diane Selby
Hi-
I am developing an ASP.NET application that can take a few seconds to
process the request from the user. We are looking for a client-side
solution that will prevent users from resubmitting the page multiple
time in their irrational impatience.
There are a few posts on this group which suggest that we use
JavaScript hooked up to the page's OnSubmit event to catch mulitple
submissions. See postings by Craig Deelsnyder et alia.
But, and here is the catch... The OnSumbit event only gets called if
the user clicks a Submit button. And unfortunately we have an
application with dozens of pages, but nary a single Submit button. We
use linkbuttons hooked up to events pretty much everywhere to do our
saving (which seems to be standard practice) and linkbuttons do not
trigger OnSubmit.
Any suggestions on how to popup a "We are working on your request,
please stop clicking" dialog?
Diane "America's Developer" Selby
I am developing an ASP.NET application that can take a few seconds to
process the request from the user. We are looking for a client-side
solution that will prevent users from resubmitting the page multiple
time in their irrational impatience.
There are a few posts on this group which suggest that we use
JavaScript hooked up to the page's OnSubmit event to catch mulitple
submissions. See postings by Craig Deelsnyder et alia.
But, and here is the catch... The OnSumbit event only gets called if
the user clicks a Submit button. And unfortunately we have an
application with dozens of pages, but nary a single Submit button. We
use linkbuttons hooked up to events pretty much everywhere to do our
saving (which seems to be standard practice) and linkbuttons do not
trigger OnSubmit.
Any suggestions on how to popup a "We are working on your request,
please stop clicking" dialog?
Diane "America's Developer" Selby