I am trying to clear the scheduler from codebehind but I am having problems.
looks like it should do what I want, but it does not. If i check RadScheduler1.Appointments.Count before clearing, it says 5. If I check it again AFTER clearing the items, it sais 0. So the items are cleared. But they are still displayed in the scheduler. If I change the viewState of the scheduler from day to week, the items are still there. I do not use a datasource but fill the items from a function. This function does not run after the .Appointments.Clear(). But still the items are there. How do I remove the visible items???
Made a horrible workaround for this. It works, but cannot possibly be the way to do it:
Dim col As New Collection
For Each o As Telerik.Web.UI.Appointment In RadScheduler1.Appointments
For Each i As Telerik.Web.UI.Appointment In col
RadScheduler1.SelectedView = RadScheduler1.SelectedView