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

Timeline view formatting questions

1 Answer 77 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Gayan Perera
Top achievements
Rank 1
Gayan Perera asked on 24 Nov 2010, 09:41 AM
Hi

We're using the scheduler control and it's great, but I have some questions about formatting the timeline view.

Please refer to the attached file
#1. This left hand side contains the resources, how do I make that column bigger? eg: increase the height and width?
#2. These are the booked timeslots, how do I increase the height of these?
#3. I'd like scroll bars to scroll through the time, for example, the control is set to start at 7am and finish and 7pm, but since I want each slot expanded not all these will fit on a 960px screen, therefore would like a scrollbar like the vertical bar that you see on the right
#4. How do I increase the width of each slot?

What would be really good is if we can use the normal scheduler control and put the time horizontally and resources vertically without using this timeline control

Thanks
Gayan

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 26 Nov 2010, 06:37 PM
Hello Gayan,

1. Please, try setting the following properties for RadScheduler - RowHeight="150px" RowHeaderWidth="300px".

2. The height of the appointments will increase proportionally to the RowHeight property you specify. If you don't need the extra empty row, you can set - <TimelineView ShowInsertArea="false" />.

3. Please, try the following settings:
<telerik:RadScheduler ID="RadScheduler1" runat="server" GroupBy="User" SelectedDate="2010/11/26 07:00:00"
       ColumnWidth="60px" SelectedView="TimelineView" GroupingDirection="Vertical">
       <TimelineView NumberOfSlots="24" SlotDuration="01:00:00" ColumnHeaderDateFormat="hh:mm tt" />
   </telerik:RadScheduler>

Note that the SelectedDate can be set dynamically from code behind to DateTime.Now, but you should also specify the hour so that the Timeline view starts from a specific hour.

4. Setting ColumnWidth="60px" will do the trick.


Best wishes,
Peter
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Scheduler
Asked by
Gayan Perera
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or