Prevent Submitting an ASP.Net form Twice

This post describes how to prevent submitting an ASP.Net form twice. I stumbled across a rather neat and handy way to achieve this by the following: public void PreventMultipleClicks(Button button, Page page) { button.Attributes.Add(“onclick”, “if(Page_ClientValidate()){this.disabled=true;this.value=’Processing Request…’;” + page.ClientScript.GetPostBackEventReference(button, String.Empty).ToString() + … Continue reading