This is a migrated thread and some comments may be shown as answers.
Problem removing an appointment
1 Answer 41 Views
This is a migrated thread and some comments may be shown as answers.
Kian
Top achievements
Rank 1
Kian asked on 03 Oct 2010, 12:54 PM
Dear Admin,

I use this code to remove an appointment:

RadScheduler1.Appointments.Remove(SelectedAppointment.Appointment)

but the RadScheduler1 seems to not refresh after removing the appointment.
Generally, I need to remove the Selected Appointment programmatically  which the SelectedAppointment is an AppintmentElement.

Could you help me please?

Thank you
Regards.
Kian

1 Answer, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 07 Oct 2010, 08:27 AM
Hi Kian,

Thank you for writing.

I am not able to reproduce your issue. The following code snippet can help you to delete the selected appointment.
Dim appointmentElement As AppointmentElement = SchedulerUIHelper.GetSelectedAppointment(Me.radScheduler1)
Me.radScheduler1.Appointments.Remove(appointmentElement.Appointment)

If you have other questions, feel free to write back.

All the best,
Dobry Zranchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Kian
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
Share this question
or