Hi.
When I try to add and appointment with recurrence the apointment won`t show up in the scheduler.
This is from the the index.cshtml file:
@{List<string> view = new List<string>() { "WorkWeek" };}
@(Html.EJ().Schedule("Schedule1")
.Width("100%")
.Height("525px")
.Views(view)
.CurrentDate(DateTime.Now)
.AppointmentSettings(fields => fields.Datasource(Model)
.Id("BookingId")
.StartTime("StartTime")
.EndTime("EndTime")
.Subject("Subject")
.Recurrence("Recurrence")
.RecurrenceRule("RecurrenceRule")
And this is from my model:
public partial class Lesson
{
public int Id { get; set; }
public System.DateTime StartTime { get; set; }
public System.DateTime EndTime { get; set; }
public string Subject { get; set; }
public Nullable<bool> Recurrence { get; set; }
public string RecurrenceRule { get; set; }
}
And I`m not sure what my data in my Sql database should look like for the recurrence and recurrencerule fields.
Is it OK with 'true' and 'FREQ=WEEKLY; INTERVAL=1; BYDAY=MO; UNTIL=12/23/2015' for testing purposes?
I`m not sure about the BYDAY data...is it necessary?
Tommy