G
Guest
Hi
I have been creating an Button using .Net C#.
Once the user clicks the button, the click event handler will perform task A. This normally takes around 2 minutes
During this 2 minutes, the user must not be allowed to click this button again
However, once the user clicks multiple times on this button, the click event handler will responds automatically
(i.e. during this 2 minutes, the user clicks 2 times. Then a total of 3 task A will be performed
It is acceptable if the user click the button after Task A completed
How do we prevent the latching of the click event
Please advise
Thanks a lo
Regards
Pat
I have been creating an Button using .Net C#.
Once the user clicks the button, the click event handler will perform task A. This normally takes around 2 minutes
During this 2 minutes, the user must not be allowed to click this button again
However, once the user clicks multiple times on this button, the click event handler will responds automatically
(i.e. during this 2 minutes, the user clicks 2 times. Then a total of 3 task A will be performed
It is acceptable if the user click the button after Task A completed
How do we prevent the latching of the click event
Please advise
Thanks a lo
Regards
Pat