Handle Double-click on <Input type="image">

W

Will

I have an image "button" which causes a postback.

I handle the "click" with

If Request.Form("btnBU7WD6_Submit.X") > 0 Then...

this works great. However, when a user double-clicks the image button the
Page_Load (postback) is processed twice. This is a problem.

Is there any easy way to detect that the image button has been double-cliked
and posted back twice?
 
W

Will

Thanks Peter. That's the solution I planned on going with.

I was hoping there was a way to detect it in the Postback, but I don't see
anything.

Thanks
 
J

Jeff Dillon

Disable the button client side onclick?

Will said:
Thanks Peter. That's the solution I planned on going with.

I was hoping there was a way to detect it in the Postback, but I don't see
anything.

Thanks
 

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

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top