kendo-scheduler

Issue with serializing data using JSON.Net

有些话、适合烂在心里 提交于 2019-12-02 04:41:39
I am using a Kendo Scheduler in my app to pull data from my database using a Web Api. I created a Web Api function and just hard coded some data in there to be sure the Kendo Scheduler could read my data. Here is my code for the Api function: [Route("api/v1/Events/GetPersonalEvents", Name = "ApiEventsGetPersonalEvents")] [HttpGet] public DataSourceResult GetPersonalEvents([System.Web.Http.ModelBinding.ModelBinder(typeof(WebApiDataSourceRequestModelBinder))]DataSourceRequest request) { var q = new ViewModels.Events.EventViewModel(); q.Id = 1; q.Title = "This is a test"; q.Start = DateTime.Now;

Unable to bind data to Kendo Scheduler

匆匆过客 提交于 2019-12-02 03:40:10
I've got this Kendo Scheduler that is displayed in the View but without any data. The Scheduler on the View: @(Html.Kendo().Scheduler<ProjName.Models.ScheduleInspectionModel>() .Name("scheduler") .Views(views => { views.DayView(); views.WorkWeekView(); views.WeekView(); views.MonthView(mv => mv.Selected(true)); views.AgendaView(); }) .Timezone("Etc/UTC") .DataSource(d => d .Read("ControllerName", "GetScheduleInspections") ) ) The datasource invokes the controller method below: public ActionResult GetScheduleInspections([DataSourceRequest]DataSourceRequest request) { ScheduleInspectionModel sim

Kendo scheduler resources paging

做~自己de王妃 提交于 2019-11-29 13:03:14
in kendo scheduler control am using group header template and would like to make a paging in my resources view http://dojo.telerik.com/IMUjA this example has 2 only resources if I would like to add 2 another resources I want to show only 2 resources per page and would like to have next/prev buttons to change resources viewed as paging in scheduler displaying I want something such as the example I made in this link: dojo.telerik.com/uBigO/4 I would like to control my resources to view configured number of the resources cause the pagination method is not supported in Kendo scheduler as a feature