0

我对 JS 中的功能几乎没有疑问:一旦 RadConfirm 弹出消息并单击取消按钮,我想留在同一页面并选中我拥有的复选框。相反,RadConfim 框再次弹出,然后需要再次单击取消按钮。

function deactivateAccountChecked(sender, eventArgs) {
    radconfirm('Are you sure you want to disable this account?</br>If you continue, the user will not be able to use the system.</br></br>Only Case Global will be able to re-active this account.', confirmDisableCallBackFn, 370, 225, null, 'Case Global Deactivate Account');           
}

function confirmDisableCallBackFn(arg) {
    var check = $find("<%=activeAccount.ClientID %>");
    if (arg == false) {
        check.set_checked(true); 
    }
    else {
        check.set_checked(false);
    }
}
4

0 回答 0