Stopping repeated transactions on ASP.NET button

  • Thread starter Thread starter arc
  • Start date Start date
A

arc

I have a button that commits a transaction on click.
Considering it takes about 4 secs for a transaction, it allows to be clicked
several times (will not work if button is just disabled on commit) during
this period and then collects all these clicks as several transactions with
same data. How can i stop this from taking any transactions further while
the first processing is on?

Thanks
Arc
 
You would have to disable the button on the client right after the first
click.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top