Kendo Scheduler (Wrong Appointment Time Shown on Calendar) Asp.Net MVC

0 Answers 21 Views
Scheduler
Vigneshwaran
Top achievements
Rank 1
Vigneshwaran asked on 11 Oct 2021, 09:49 AM

Hi ,

I am Using kendo scheduler
I am facing issue wrong appointment time is shown on the calendar. The appointment is Stored in Database as Datetime.
and I'm retrieving the database value and showing values in kendo scheduler control 
here in my local solution its showing correct data time (database value : 5 PM   Indian timing Its showing correctly)

but in server side its showing wrong time(UK Timimg, Its showing wrong time)

Vigneshwaran
Top achievements
Rank 1
commented on 14 Oct 2021, 07:51 AM

Please give any suggestion to fix this issue
Vigneshwaran
Top achievements
Rank 1
commented on 16 Oct 2021, 07:44 AM

I am Using like that
       
@(Html.Kendo().Scheduler<Signum.Referral.Website.Models.SchedulerViewModel>()
        .Name("scheduler")
        .Date(DateTime.Now)
        .StartTime(new DateTime(2013, 6, 13, 7, 00, 00))
        .Height(600)
        .Timezone("")
        .Views(views =>
        {
            views.DayView();
            views.WorkWeekView(workWeekView => workWeekView.Selected(true));
            views.WeekView();
            views.MonthView();
            views.AgendaView();
            views.TimelineView();
        })
        .DataSource(d => d

                .Read(read => read.Action("Schedules_Read", "Manage"))

            )
        .Events(e => e.Save("Schedules_Update"))
        )

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
Vigneshwaran
Top achievements
Rank 1
Share this question
or