在我的项目中,我使用 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);
}
}