How can I check whether any appointment already exists in EventsCollection?

I wonder is there any way to check whether any appointment in EventsCollection exist or not as not to add same event again and again.

I tired this way but it always returns false

 if(!eventsCollection.Contains(events.Subject))
                        {
                            eventsCollection.Add(events);
                           
                        }

Thank you.



1 Reply

ET Eswaran Thirugnanasambandam Syncfusion Team September 20, 2017 04:15 AM UTC

Hi Ishwor Khanal,

Thanks for contacting Syncfusion support.

We have prepared a sample based on your requirement in which we have checked whether any inline event is present already when a new inline event is added with same subject. Please find the sample from the below link.

Link: http://www.syncfusion.com/downloads/support/forum/132717/ze/cal132717977958464  

Please let us know if you have any other query.

Regards,
Eswaran AT. 


Loader.
Up arrow icon