WebScheduler New Appointment Dialog

Thread is closed for posting
2 posts, 0 answers
  1. d m
    d m avatar
    1 posts
    Member since:
    Dec 2009

    Posted 16 Dec 2009 Link to this post

    I am running http://demos.telerik.com/aspnet-ajax/scheduler/examples/customization/defaultcs.aspx.

    I changed Day start from 08:00 to 06:00.

    I double clicked in the 6am time slot and pressed the Options button.

    The Start time in the New Appointment dialog is selected as 6:00 AM. However, when I go to select another time, the first option in the list box is 8:00 AM; I expected it to be 6:00 AM. Why is that?

    The same behaviour occurs in my test project using a trial version of ASP.NET AJAX Q3 2009.


  2. Peter
    Peter avatar
    6637 posts

    Posted 18 Dec 2009 Link to this post

    Hello DM,

    We will expose separte properties that will allow you to control the start and end time of the RadTimePicker controls in the advanced form. Meanwhile, you can use the following workaround:
    protected void RadScheduler1_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
            if ((e.Container.Mode == SchedulerFormMode.AdvancedEdit) || (e.Container.Mode == SchedulerFormMode.AdvancedInsert))
                RadTimePicker startTime = e.Container.FindControl("StartTime") as RadTimePicker;
                startTime.TimeView.StartTime = RadScheduler1.DayStartTime;
                startTime.TimeView.EndTime = RadScheduler1.DayEndTime;
                startTime.TimeView.DataList.DataSource = null;
                RadTimePicker endTime = e.Container.FindControl("EndTime") as RadTimePicker;
                endTime.TimeView.StartTime = RadScheduler1.DayStartTime;
                endTime.TimeView.EndTime = RadScheduler1.DayEndTime;
                endTime.TimeView.DataList.DataSource = null;

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top