Friday, July 8, 2016

Prevent button double click


Add this in page load.

btnGenerateInvoice.Attributes.Add("onclick", " this.disabled = true; " + ClientScript.GetPostBackEventReference(btnGenerateInvoice, null) + ";");

No comments:

Post a Comment