Disbale the button immediately after the click in asp.net.
1. Place the below code in Page_Load event
2. Button should not have OnclientClick ebvent
Button1.Attributes.Add("OnClick", "javascript:" + Button1.ClientID + ".disabled=true;" + ClientScript.GetPostBackEventReference(Button1, ""));
Tuesday, October 11, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment