Monday, June 20, 2011

Disabling button when performing some operation in ASP.NET

Button1.OnClientClick = ClientScript.GetPostBackEventReference(Button1, "") + "; this.value=’Processing…’;this.disabled = true;";

No comments:

Post a Comment