Problem removing an appointment

2 posts, 0 answers
  1. Kian
    Kian avatar
    15 posts
    Member since:
    Sep 2010

    Posted 03 Oct 2010 Link to this post

    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
  2. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 07 Oct 2010 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top