the user clicks the Save button in the form , i have to do some server side validation if server side validation false i want disable the javascript confirm box other wise enable javascript confirm box . my aspx code like this :

   <asp:Button ID="btnSubmit" Text="Submit" CssClass="blue-button" runat="server" ValidationGroup="AddM" OnClick="btnSubmit_Click" />
                                                        <Ajax:ConfirmButtonExtender ID="ConfirmButtonExtender8" runat="server" TargetControlID="btnSubmit" ConfirmText="Please Confirm">

enter image description here

Related posts

Recent Viewed