We are trying to implement the Telerik Scheduler and we have been able to populate the radScheduler calendar with data when passed through the view, but we want to filter our results based on the range that is displayed on the calendar. We saw that we could do this with the .read method, but when we try and populate the calendar with the database connection, the Html helper reads the front end web configuration instead of the back end (web configuration file). Are there ways to fix this?
@(Html.Kendo().Scheduler<ExtendedStoreInformationDTO>()
.Name("scheduler")
.Date(new DateTime(2016, 6, 13))
.StartTime(new DateTime(2013, 6, 13, 7, 00, 00))
.Height(600)
.DataSource(d => d
.Model(m =>
{
m.Id(f => f.StoreID);
m.Field(f => f.Title).DefaultValue("Hello There");
})
.ServerOperation(true)
.Read(read => read.Action("Read", "Home").Data("getAdditionalData"))
)
.Views(views =>
{
views.DayView();
views.WorkWeekView();
views.WeekView();
views.MonthView(monthView => monthView.Selected(true));
views.AgendaView();
views.TimelineView();
})
.Timezone("Etc/UTC")
.WorkDayStart(1,0,0))