Avoid click event more than one time

Posted by Gg under Regular Expressions on 2/16/2011 | Points: 10 | Views : 1713 | Status : [Member] | Replies : 6
Hi,

How to avoid my checkout button click event more than one time? How to restrict this?

Thanks,
GG




Responses

Posted by: Madhu.b.rokkam on: 2/16/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
You can disable that after first click.


Thanks and Regards
Madhu

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 2/16/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Gg

say ur full requirement .. why you want one time click on button event . .

Best Regard's
Prabhakar

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gg on: 2/16/2011 [Member] Starter | Points: 25

Up
0
Down
Hi prabha,

If i click checkout button more than one time, the order will placed more than one time.

Thanks,
GG


Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SheoNarayan on: 2/16/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Dear Gg,

Please go through this article http://www.dotnetfunda.com/articles/article453-ensuring-button-is-clicked-only-once-confirmation-and-please-wait-message--.aspx that should have your solution.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 2/16/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
HI Gg

firstly i say my name is prabhakar . . then if u want to yyour order not be placed second time so you use Blanck check & use validation Like RequiredfieldValidator .

Best Regard's
Prabhakar

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/16/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
In the click event try to process the order and at the end of the click event make the checkbox to disabled mode

Thanks
Karthik
www.f5Debug.net

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response