Hello,
i am new user and trying to get familiar with telerik radscheduler.
Can you please show me how to write a code for weekly & monthly recurrence for the appointment in a calendar programatically as i do not want to use the inbuilt data provider control . I search all your articles and videos but could not find any example related to task i want to do just found one example for hourly appointment on the following url
i try to do something similar in asp.net ajax version but could not can you please help .. correct me if am doing something wrong.
Here is my code ...
Appointment appointment = new Appointment();
appointment.Start = Convert.ToDateTime("1/8/2010 10:00:00 AM");
appointment.End = Convert.ToDateTime("1/20/2010 10:30:00 AM");
appointment.Subject = "Example";
RecurrenceRange range = new RecurrenceRange(DateTime.Today.AddDays(1).AddHours(9.5), TimeSpan.FromHours(2.5), DateTime.Today.AddMonths(2), Int32.MaxValue);
WeeklyRecurrenceRule rule = new WeeklyRecurrenceRule(1, RecurrenceDay.Tuesday , range);
appointment.RecurrenceRule = rule.ToString();
RadScheduler1.InsertAppointment(appointment);
RadScheduler1.DataBind();