0

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

无论我选择什么,都会抛出一个错误,告诉我对象“this”不包含名为“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 的内部代码,我对此无能为力吗?有没有人遇到同样的问题?

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

错误位置 手表

4

0 回答 0