Print Page | Close Window

Removing all events in an unbound dataprovider

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=16475
Printed Date: 24 June 2024 at 8:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Removing all events in an unbound dataprovider
Posted By: brianbruff
Subject: Removing all events in an unbound dataprovider
Date Posted: 19 March 2010 at 10:31am
I've added some events with createEventEx
 
now i wish to remove them, i can't get rid of the events for the current day in day view! any ideas?
 

axCalendarControl1.DayView.UnselectAllEvents();

axCalendarControl1.DataProvider.CacheMode = XtremeCalendarControl.CalendarDataProviderCacheMode.xtpCalendarDPCacheModeOff;

axCalendarControl1.DataProvider.RemoveAllEvents();

axCalendarControl1.Refresh();

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net