Adding a Recurrence

2 posts, 0 answers
  1. Hilda Kenny
    Hilda Kenny avatar
    43 posts
    Member since:
    Jul 2009

    Posted 13 Apr 2011 Link to this post

    hi, if I right click and add recurring item on the header part of the scheduler, it doesn't put the time in?  my version is 2010.2.10.914
  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 19 Apr 2011 Link to this post

    Hi Hilda,

    Thank you for writing.

    When you create an appointment on the header part, this appointment is treated as an all day event. That is why time is not displayed in the appointments that are in the all-day-header part of the scheduler. However, when you change manually the time of the appointment and set it to a time interval smaller than a day, then the appointment should not be displayed in the header but rather in the appointments area. This behavior is not correct in the version you are using, but is addressed in Q3 2010. In case you do not want to upgrade, you can use the following code snippet as a workaround:
    public partial class Form1 : Form
        public Form1()
            this.radScheduler1.AppointmentEditDialogShowing += new EventHandler<AppointmentEditDialogShowingEventArgs>(radScheduler1_AppointmentEditDialogShowing);
        void radScheduler1_AppointmentEditDialogShowing(object sender, AppointmentEditDialogShowingEventArgs e)
            e.AppointmentEditDialog = new MyEditDialog();
    public class MyEditDialog : EditAppointmentDialog
        protected override void ApplySettingsToEvent(IEvent targetEvent)
            if (this.RecurrenceSettingsShouldBeSaved())
                targetEvent.Start = this.recurringAppointment.Start;
                targetEvent.End = this.recurringAppointment.End;
                targetEvent.AllDay = false;

    I hope you find the information provided useful. Feel free to write if you have any additional questions.

    Best wishes,
    Ivan Todorov
    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
Back to Top