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. Image for the cookie policy date

Add one appointment at a time in scheduler cell

Hello,

I want to add only one appointment at a time in one cell of scheduler. If user try to add other appointment in a cell than It should show a msg "Appointment already exist here"
And how can I check that specific cell has appointment or not.

thanks

1 Reply

JO Joy Oyiess Rex  K Syncfusion Team February 26, 2014 08:43 AM UTC

Hi Muhammad,

 

Thanks for your interest in Syncfusion products.

 

We have analysed your requirement of adding only one appointment in a cell of the Schedule, it can be achieved by listening CollectionChanged event of the Appointments of the SfSchedule with required conditional checks in it.

 

We have prepared a simple sample for the same, please find the sample in the attachment. In the provided sample, While adding new appointment, we have checked with conditions to confirm whether is there any appointment added in that particular cell. If so, then recently added appointment will update based on the result of MessageDialog.

 

Please let us know, if you need any further assistance.

 

Regards,

Joy Oyiess Rex K


Attachment: SingleAppointment_SfSchedule_WinRT_4c5544c.zip

Loader.
Live Chat Icon For mobile
Up arrow icon