This is a migrated thread and some comments may be shown as answers.

How can have the Start time show from 8:30

5 Answers 202 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Dhiren
Top achievements
Rank 1
Dhiren asked on 30 Jul 2010, 08:02 PM
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

5 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 03 Aug 2010, 03:33 PM
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
0
Dhiren
Top achievements
Rank 1
answered on 10 Aug 2010, 08:04 PM
That worked thanks a lot.
0
Radha
Top achievements
Rank 1
answered on 11 Aug 2010, 10:02 AM

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:
0
Jason
Top achievements
Rank 1
answered on 09 Nov 2010, 12:08 PM
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.
0
Veronica
Telerik team
answered on 10 Nov 2010, 10:54 AM
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
Tags
Scheduler
Asked by
Dhiren
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Dhiren
Top achievements
Rank 1
Radha
Top achievements
Rank 1
Jason
Top achievements
Rank 1
Share this question
or