Call the button's SetEnabled method to disable its functionality on the client. Send a postback to the server to prevent subsequent clicks.
Note: This repo is for ASP.NET MVC 5.x, Web API 2.x, and Web Pages 3.x. For ASP.NET Core MVC, check the AspNetCore repo. ASP.NET MVC is a web framework that gives you a powerful, patterns-based way to ...