RadSchedule - EditAppointment

2 posts, 0 answers
  1. Dejan Jovanov
    Dejan Jovanov avatar
    4 posts
    Member since:
    Aug 2009

    Posted 04 Feb 2013 Link to this post

    Hi,

    I have RadSchedule controls that shows Appointmesnts.

    When I updated schedule with one Appointment, it works fine,

    RadScheduleViewCommands.EditAppointment.Execute(a, this.ScheduleView);


    but when i have updated schedule with more Appointments like:
                    foreach (AppointmentViewModel a in appointments)
                    {
                        RadScheduleViewCommands.EditAppointment.Execute(a, this.ScheduleView);
                    }
    application crashes.

    Thanks,
    Dejan
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 07 Feb 2013 Link to this post

    Hello Dejan,

    EditAppointment command actually opens the EditAppointmentDialog, so with this code you are showing multiple dialogs at the same time - I guess this causes the application to crash.

    If you just need to edit some properties of the appointments with code, please check this help article.

    Kind regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top