How to delete a selected appointment form radscheduler problematically

2 posts, 1 answers
  1. Ananthan
    Ananthan avatar
    8 posts
    Member since:
    Mar 2013

    Posted 15 Apr 2013 Link to this post

    Hi,
    How to delete a selected appointment form radscheduler problematically
    I want to delete a selected appointment by clicking a button.so i want code to delete the selected appointment
  2. Answer
    Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 18 Apr 2013 Link to this post

    Hi Ananthan,

    Thank you for writing

    Here is how you can delete the selected appointment in RadScheduler:
    void radButton1_Click(object sender, EventArgs e)
    {
        AppointmentElement appointmentElement = SchedulerUIHelper.GetSelectedAppointment(radScheduler1);
        Appointment appointment = appointmentElement.Appointment as Appointment;
        radScheduler1.Appointments.Remove(appointment);
    }

    I hope this helps.
     

    Greetings,
    Stefan
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top