Hi,
i want to create a scheduler..
now scheduler can be displayed in correctly...
my problem is..
i was click the scheduler cell it can be display the a dialog box that is event dialogox that is can not be work..
i was checked with checkpoint but the code is not be executed....
and also i don't know about the work flow...
my code is
@(Html.Kendo().Scheduler<StackedSports.Models.TaskViewModel>()
.Name("scheduler")
.Date(new DateTime(2013, 6, 13))
.StartTime(new DateTime(2013, 6, 13, 7, 00, 00))
.Height(600)
.Views(views =>
{
views.DayView();
views.WeekView(weekView => weekView.Selected(true));
views.MonthView();
views.AgendaView();
})
.Timezone("Etc/UTC")
.DataSource(d => d
.Model(m =>
{
m.Id(f => f.TaskID);
m.Field(f => f.OwnerID).DefaultValue(1);
//Set the recurrence ID field from the model:
m.RecurrenceId(f => f.RecurrenceID);
})
.Read("Tasks_Read", "Coaches")
.Create("Tasks_Create", "Coaches")
.Destroy("Tasks_Destroy", "Coaches")
.Update("Tasks_Update", "Coaches")
)
i want to create a scheduler..
now scheduler can be displayed in correctly...
my problem is..
i was click the scheduler cell it can be display the a dialog box that is event dialogox that is can not be work..
i was checked with checkpoint but the code is not be executed....
and also i don't know about the work flow...
my code is
@(Html.Kendo().Scheduler<StackedSports.Models.TaskViewModel>()
.Name("scheduler")
.Date(new DateTime(2013, 6, 13))
.StartTime(new DateTime(2013, 6, 13, 7, 00, 00))
.Height(600)
.Views(views =>
{
views.DayView();
views.WeekView(weekView => weekView.Selected(true));
views.MonthView();
views.AgendaView();
})
.Timezone("Etc/UTC")
.DataSource(d => d
.Model(m =>
{
m.Id(f => f.TaskID);
m.Field(f => f.OwnerID).DefaultValue(1);
//Set the recurrence ID field from the model:
m.RecurrenceId(f => f.RecurrenceID);
})
.Read("Tasks_Read", "Coaches")
.Create("Tasks_Create", "Coaches")
.Destroy("Tasks_Destroy", "Coaches")
.Update("Tasks_Update", "Coaches")
)