This is a migrated thread and some comments may be shown as answers.

I can't insert data into scheduler

1 Answer 60 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Season
Top achievements
Rank 1
Season asked on 25 Mar 2014, 01:13 PM
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")
    )

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 27 Mar 2014, 08:47 AM
Hi Anand,

From the provided information it's not clear for us what is the exact reason for current behavior. Could you please provided runable example where the issue is reproduced (you can use this example as a baseline)? This would help us pinpoint the exact reason for this behavior.

Kind Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Season
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or