Disabling the Submit button when insert or update a record using JavaScript.

Posted by Vishalneeraj-24503 under ASP.NET category on | Points: 40 | Views : 732
Below is a simple code for avoiding the multiple time clicks on the Save button while submitting the request and display the text like Processing.. to the user.

<asp:Button ID ="bnt_save" runat = "server" OnClick = "bnt_save_Click" 
Text = "Save" OnClientClick = "this.disabled=true;this.value= 'Processing..';"
UseSubmitBehavior = "false" />

Comments or Responses

Login to post response