public void BindScheduler()
{
ArrayList schedules = null;
schedules = AdminRemoteController.GetScheduleByFFId(FfID);
RadScheduler1.DataKeyField = "ScheduleId";
RadScheduler1.DataStartField = "StartDate";
RadScheduler1.DataEndField = "EndDate";
RadScheduler1.DataSubjectField = "Subject";
RadScheduler1.DataRecurrenceField = "RecData";
RadScheduler1.DataRecurrenceParentKeyField = "RecId";
RadScheduler1.DataReminderField = "Reminder";
RadScheduler1.DataSource = schedules;
}
答案 0 :(得分:1)
这是来自Telerik的回复并解决了我的问题
“您的约会的RecurrenceParentID值很可能是”0“而不是”null“,这将导致类似的异常行为。我想澄清一下,如果是常规约会,则RecurrenceParentID应该为null为了按预期工作。如果该值不同于null,则约会可能被视为定期约会。“