移动定期约会时出现Javascript错误

时间:2015-01-28 10:32:05

标签: javascript c# asp.net telerik radscheduler

使用RadSchedular,在一系列定期约会中移动约会时会出现一个RadWindow,询问我是要移动它们还是仅移动当前约会。

无论我选择什么,都会抛出错误告诉我该对象'这个'不包含名为' get_owner'的方法。 Telerik.Web.UI dll是在2014.2.724.40版本上,该项目是一个ASP.NET项目。

错误发生在动态空白脚本中,如下所示:

_onAppointmentMoveCallback:function(j,h){h.Scheduler._raiseRecurrenceActionDialogClosedEvent(h,false,b.RecurrenceAction.Move);
var k={appointment:h.Appointment,newStartTime:h.NewStart,editingRecurringSeries:j,targetSlot:h.TargetSlot,isAbortedByUser:false};
var i=a.raiseCancellableControlEvent(h.Scheduler,"appointmentMoveEnd",k);
//Error in next if()
if((this.get_owner().get_groupBy()!==g)&&this.get_owner()._webServiceSettings.get_isEmpty()&&h.Appointment.get_resources().indexOf(h.SourceSlot.get_resource())==-1){i=true;
}if(!i){h.Scheduler.moveAppointment(h.Appointment,j,h.SourceSlot,h.TargetSlot);
}else{h.Appointment._abortDrag();
}}

如果我理解正确,这是Telerik的内部代码,我无能为力吗?是否有人遇到过同样的问题?

这两个图像反映了调试器状态:

Error location Watch

0 个答案:

没有答案