Thursday, January 8, 2009

Disable button to prevent multiple click C#.net

just add following code in Page_load

Button1.Attributes.Item("onclick") = "this.disabled=true;" & GetPostBackEventReference(Button1).ToString

No comments:

Post a Comment