Add the following line on Page_Load. This will disable btnSubmit , change the text of the button, and then continue on with the server side btnSubmit_OnClick event handler. btnSubmit .Attributes.Add("onclick", "this.value=\"Processing...\";this.disabled=true;" + ClientScript...