0

在我的项目中,我使用 Ajax 弹出控件来显示地址详细信息。弹出窗口显示完美第一次页面加载,但是当我保存我的详细信息并单击弹出按钮时,它会出现错误,如“Microsoft JScript 运行时错误:'Alticore' 未定义”。以下是我的代码,请帮助我。

function EditAddress(addressId)
{
    var companyId = $get('hdnCompanyId').value;
    var url = "AddAddressDetails.aspx?AddressId=" + addressId + "&EntityId=" + companyId   + "&EntityType=COMPANY";
    Alticore.Framework.openModalFrame('divEditAddress', url, { 'callback': addressPopupClosed, 'draggable': true, 'title': "Address Details ", 'width': '600px', 'height': '380px' });
}

function addressPopupClosed(response) // This method is called when the Popup is closed
{
    try {
        if (response.IsOk) {
            $get('btnListAddress').click();
            activeTabId = "AddressDetails";
        }
    }
    catch (e) {
        alert(e.message);
    }
}
4

1 回答 1

0

您是否链接了您的 css 文件和/或定义 Alticore 的 js 文件?就像是:

<LINK href="Style.css" type="text/css" rel="StyleSheet">
<script src="Library.js" type="text/javascript"></script>
于 2012-04-10T07:22:58.407 回答