Hi,
I have attached RAD confirmation dialog box with my ASP.net button OnClientClick. It woks fine but it doesn't fire server side click event of button whether I select Ok or Cancel.
I am using following code
I have attached RAD confirmation dialog box with my ASP.net button OnClientClick. It woks fine but it doesn't fire server side click event of button whether I select Ok or Cancel.
I am using following code
<
asp:Button ID="btnDelete" runat ="server" Text ="Delete" cssclass="RadUploadSubmit" OnClientClick="return OpenConfirm();"
Visible="False" />
function OpenConfirm() {
radconfirm(
'<h3 style=\'color: #333399;\'>Are you sure?</h3>', confirmCallBackFn, 330, 100, null, 'RadConfirm custom title');
return false;
function confirmCallBackFn(arg) {
radalert(
"<strnog>radconfirm</strong> returned the following result: <h3 style='color: #ff0000;'>" + arg + "</h3>", null, null, "Result");
}
Please tell me where do I modify javascript so it fires server side click after User selects Ok on confirmation dialog.
Thank you.