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.
Unfortunately, activation email could not send to your email. Please try again.

AllowMultiple how to load the multiple when loading appoitments?

Thread ID:

Created:

Updated:

Platform:

Replies:

128193 Jan 6,2017 06:52 PM Jan 9,2017 06:36 AM ASP.NET MVC 1
loading
Tags: Schedule
Marcin Suliga
Asked On January 6, 2017 06:52 PM

Hello,

I have person resource in the scheduler it works greate but i cant find out how to load all Resources chosen on an event. I do know that you produce multiple appointments when using more then one resource. All chosen Resources are exposed in "Schedule1_ownerfield_0" property.

I do take care with this in the code and i do produce one appoitment row and multiple rows in my AppoitmentPerson table that connects persons with appoitments.

When I load the scheduler i would like to send alla selected Resources to the Appoitment so when i click edit it should show alla selected Resources not only the one passed using PersonId. As it is now its not very userfriendly and confusing.


Regards
Marcin

Karthigeyan Krishnamurthi [Syncfusion]
Replied On January 9, 2017 06:36 AM

   
Thank you for contacting Syncfusion support.   
   
When an appointment is saved with multiple resources, unique appointments for each resource will be saved with its id. Therefore, when an appointment is opened, only its respective resource will be shown in the appointment window which is the default behavior. Currently, there is no option to display all the resources for the multiple resource appointments in the appointment window. In our latest release version (14.4.0.20) when an appointment is saved/edited with multiple resource (say 2), parameters shown below will be retrieved which helps to keep track the appointment added for the resource. We have prepared a sample for your reference which can be download from the below location.   
 
1.       BeforeAppointmentChange event parameters 
 
                
 
2.       BeforeAppointmentCreate event parameters 
 
                                                    
 
Regards, 
Karthigeyan 


CONFIRMATION

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.

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.

;