We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bind Schedule Appointment to Model class

Thread ID:




127998 Dec 23,2016 02:50 PM UTC ASP.NET MVC 0
Tags: Schedule
Asked On December 23, 2016 02:50 PM UTC


I have a Model class Work like this:

    public class Work
        public int WorkId { get; set; }

        public string WorkCode { get; set; }

        public DateTime? WorkPlanningDate { get; set; }

        public DateTime? WorkStartPlanningDate { get; set; }

        public DateTime? WorkEndPlanningDate { get; set; }

        public int WorkYear { get; set; }

        public int WorkMonth { get; set; }

        public string WorkDescription { get; set; }

        public virtual ICollection<WorkOperator> WorkOperators { get; set; }

    public class WorkOperator
        public int WorkOperatorId { get; set; }

        public int WorkId { get; set; }
        public virtual Work Work { get; set; }

        public int OperatorId { get; set; }
        public virtual Operator Operator { get; set; }

Is it possible to bind Schedule appointments so that the list of WorkOperator objects are considered as multiple resources?

Something like this:

          .CategorizeSettings(fields => fields.Datasource(ViewBag.categorize).Enable(true).AllowMultiple(false).Id("id").Text("text").Color("color").FontColor("fontColor"))
          .Resources(res =>
              .ResourceSettings(flds => flds.Datasource((IEnumerable<WorkOperator>)Model.WorkOperators).Text("text").Id("id").GroupId("groupId").Color("color")).Add();
          .Group(gr =>
          .AppointmentSettings(fields => fields.Datasource(ds => ds.Json((IEnumerable<Work>)Model).Adaptor(AdaptorType.UrlAdaptor))
        .ScheduleClientSideEvents(evt =>

Thanks in advance.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon