|121159||Nov 16,2015 06:26 AM UTC||Nov 19,2015 03:57 AM UTC||ASP.NET MVC||4|
Thanks for contacting Syncfusion support.
Please find the following responses for your queries.
Query1: Script error throws while rendering the multiple resource
When the resources are used in the scheduler, it is mandatory to map the resource field with the AppointmentSettings. Refer to the following code example to map the ResourceField,
AppointmentSettings(fields => fields.Datasource(ds => ds.URL("/Home/GetData").CrudURL("/Home/Batch").Adaptor("UrlAdaptor"))
Query2: Need to understand about Datasource methods
For example: ResourceSettings(flds => flds.Datasource(ViewBag.Owners).Text("text").Id("id").GroupId("groupId").Color("color")).Add();
Note: To know more about datasource and datamanager, visit the below User Guide links,
Query3: Appointments are not rendering in given time
We request you to include the StartTimeZone and EndTimeZone fields in the datasource in order to render the appointments at the same time as given in the datasource. We have prepared the sample for the queries 1 and 3, which can be downloaded from the following location,
In the above sample, we have included the ResourceFields, StartTimeZone, and EndTimeZone within the AppointmentSettings. TheStartTimeZone and EndTimeZone fields are included in the datasource. So, the appointments will be rendered at the same time as given in the datasource.
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.