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.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

132717 Sep 17,2017 09:29 PM Sep 20,2017 12:15 AM Xamarin.Android 1
loading
Tags: SfCalendar
Ishwor Khanal
Asked On September 17, 2017 09:29 PM

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.



Eswaran Thirugnanasambandam [Syncfusion]
Replied On September 20, 2017 12:15 AM

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. 


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.

;