Hi,
I'm using rad confirm for two reasons:
1. display a message from a server after some action
2. Confirm before delete
This is my code:
ASPX
CS
The problem I have is after clicking Delete button, a confirm window shows up, but it does not do the post back after clicking yes.
Can you help me please?
I'm using rad confirm for two reasons:
1. display a message from a server after some action
2. Confirm before delete
This is my code:
ASPX
<asp:Panel ID="Panel1" runat="server"> <script> function confirmCallBackFn(arg) { if (arg == true) { __doPostBack("<%#deleteBtn.ClientID %>", ""); } } </script> </asp:Panel><asp:Button ID="deleteBtn" runat="server" CausesValidation="false" Text="Delete" OnClientClick="radconfirm('Are you sure you want to delete?', confirmCallBackFn, 330, 180, null, 'OFFIS - Confirm Delete', null); return false;" OnClick="deleteBtn_Click" /><telerik:RadWindowManager ID="RadWindowManager1" runat="server" Modal="True"></telerik:RadWindowManager>CS
OnPageLoad()Panel1.DataBind();OnActionRadWindowManager1.RadAlert(MessageHelper.errorOccurred("Insufficient Fund"), 330, 180, "Security Alert", null);The problem I have is after clicking Delete button, a confirm window shows up, but it does not do the post back after clicking yes.
Can you help me please?