查询JS回调函数

时间:2013-11-07 19:51:12

标签: c# javascript asp.net

我对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);
    }
}

0 个答案:

没有答案