【发布时间】:2011-05-18 09:11:00
【问题描述】:
我有一个页面,我正在使用 Telerik 窗口打开一个使用 ajaxRequest 的页面。它工作得很好。但是,下次当我按下该按钮时,它什么也没做。下面是代码sn-p: var url = "/workbench/createscenario?opportunityid=" + chanceid + "&customerid=" + customerid var window = $("#wndNewScenario").data("tWindow"); window.ajaxRequest(url); 窗口中心(); 窗口.open();
我什至尝试了如下完整的客户端脚本:
var url = "/workbench/createscenario?opportunityid=" + opportunityid + "&customerid=" + customerid;
var windowElement = $.telerik.window.create({
title: "Form",
html: '',
contentUrl: url,
modal: true,
resizable: true,
draggable: true,
onClose: function (e) {
alert("destroying");
e.preventDefault();
windowElement.destroy();
},
onRefresh: function (e) {
windowElement.center();
}
}).data('tWindow');
windowElement.center().open();
任何帮助将不胜感激......我真的不想尝试另一个弹出窗口
【问题讨论】:
标签: telerik-mvc