How can have the Start time show from 8:30

6 posts, 0 answers
  1. Dhiren
    Dhiren avatar
    5 posts
    Member since:
    Jun 2010

    Posted 30 Jul 2010 Link to this post

    I have put in the radscheduler starttime properties to start with 8:30 but when i see the control it start with 8:00 is there a way i can set the control to show the start time from 8:30?

            DayStartTime="08:30:00" DayEndTime="18:30:00"
            WorkDayStartTime="08:30:00" WorkDayEndTime="18:30:00"
            DayView-DayStartTime="08:30:00" DayView-DayEndTime="18:30:00"
            MultiDayView-DayStartTime="08:30:00" MultiDayView-DayEndTime="18:30:00"
            WeekView-DayStartTime="08:30:00" WeekView-DayEndTime="18:30:00"

    Thanks
  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 03 Aug 2010 Link to this post

    Hi Dhiren,

    Yes, setting the DayStartTime="8:30:00" is correct. To be able to see it use these two properties in addition:

    <telerik:RadScheduler ID="RadScheduler1" runat="server" DayStartTime="8:30:00" MinutesPerRow="15" HoursPanelTimeFormat="HH:mm tt">
        </telerik:RadScheduler>

    Hope this helps.

    Regards,
    Veronica Milcheva
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dhiren
    Dhiren avatar
    5 posts
    Member since:
    Jun 2010

    Posted 10 Aug 2010 Link to this post

    That worked thanks a lot.
  5. Radha
    Radha avatar
    8 posts
    Member since:
    Jul 2008

    Posted 11 Aug 2010 Link to this post

    Posted on Aug 3, 2010 (permalink)

    Hi Dhiren,

    Yes, setting the DayStartTime="8:30:00" is correct. To be able to see it use these two properties in addition:
  6. Jason
    Jason avatar
    5 posts
    Member since:
    Nov 2010

    Posted 09 Nov 2010 Link to this post

    Hi

    In the advanced view there is the start and end time dropdowns.  How can I set the start and end dates in these dropdowns?  At the moment they are defaulting to 8:00 - 17:30.  Also is the option to have the times in these dropdowns be every 15/10/etc minutes?

    Thanks.
  7. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 10 Nov 2010 Link to this post

    Hi Jason,

    You can change the StartTime, EndTime and Interval of the RadTimePickers in advanced form by subscribing to the OnFormCreated event. Here's a sample code:

    protected void RadScheduler1_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
        {
            RadTimePicker startTime = e.Container.FindControl("StartTime") as RadTimePicker;
            startTime.TimeView.StartTime = new TimeSpan(0, 0, 0);
            startTime.TimeView.EndTime = new TimeSpan(11, 59, 0);
            startTime.TimeView.Interval = new TimeSpan(0, 15, 0);
            startTime.TimeView.DataList.DataSource = null
            startTime.DataBind();
        }

    Hope this helps.

    Regards,
    Veronica Milcheva
    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
UI for ASP.NET Ajax is Ready for VS 2017