//turn the submit button off when they submit the order. This prevents double (or more) orders
Put below code to Page_Load event.
this.btnComplete.Attributes.Add("onclick", "this.value='Please wait...';this.disabled = true;" + Page.ClientScript.GetPostBackEventReference(this.btnComplete, ""));
Here is button asp control.
<asp:button id=”btnComplete” text=”Complete” runat=”server”/>
0 comments:
Post a Comment