Sunday, May 30, 2010

To Prevent Click Again and Again During Processing....

-------------- On the Page Load Event --------------
Me.btn_Save.Attributes.Add("onclick", "if (confirm('Are You For Save?')){this.value='Please wait...';this.disabled=true;} else {return false;}" & ClientScript.GetPostBackEventReference(Me.btn_Save, "Save"))

No comments:

Post a Comment