我正在使用Razor开发一个ASP.NET MVC应用程序。
我有一个jQuery弹出,其中包含一个按钮。这个按钮打开了一个Kendo弹出窗口。Kendo弹出窗口绑定按钮以单击事件,但当试图调用弹出div上的Kendo函数时,则会抛出一个TypeError。
下面是打开jQuery窗口时执行的代码。
$(".doc").bind("click", function () {
var stocknumber = $(this).data("link");
if
我有一个kendo网格,Edit事件使用下面的代码打开一个弹出窗口。
editable: { mode: "popup",
template: kendo.template($("#popup_editor").html()),
update: true,
destroy: true,
confirmation: "Are you sure you want to remove this employee? Click OK to de
我想双击调度器中的单元格,以弹出我的kendo窗口,而不是每次单击调度器click.because时都会弹出kendo窗口,即使当我单击月和日视图时.
如有任何意见,敬请见谅。
视图
<script>
function scheduler_change(e) {
var b = e.events;
var a = e.start;
$.get("@Url.Content("~/Scheduler/GetPartialview")", { date: e.start, id: em
我试图加载角应用程序中网格可编辑弹出的html模板。
在html页面中,我添加了以下内容
<script>
var templateLoader = (function($,host){
//Loads external templates from path and injects in to page DOM
return{
loadExtTemplate: function(path){
var tmplLoader = $.get(path)
.
我有确认弹出窗口的jquery UI代码。
if (confirm('Are you sure you want to delete the batchjob:' +
dataItem["Name"])) {
$.get("@Url.Content("~/BatchJob/DeleteBatchJob")", { batchJobDetailId: parseInt(dataItem["BatchJobDetailId"]) }, function (data) {