Live Chat Icon For mobile
Live Chat Icon

How can I disable a button to prevent the user from multiple clicking

Platform: ASP.NET| Category: Controls

In the very last line of the button1_Click subroutine, add this line:
VB.NET


 Button1.Enabled = False

C#


 Button1.Enabled =false;

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.