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

[Solved] Why cant event start and end time be accurately shown

1 Answer 84 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Mohammad
Top achievements
Rank 1
Mohammad asked on 25 Aug 2009, 05:06 AM
I am using radscheduler to show TV programs schedule. The problem I am facing is, I have created 15 minutes slots in the scheduler control i.e. complete 24 hours of a day would have 4 x 24 = 96 Slots, drawn as boxes against 7 days. The scheduler looks like as follows:

Days   | 00:00 - 00:15 | 00:16 - 00:30 | 00:31 - 00:45 | 00:46 - 01:00 | 01:01 - 01:15 |.....    
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Mon    |                       |                        |                       |                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Tue    |                       |                        |                       |                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Wed    |                       |                        |                       |                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Thu    |                       |                        |                       |                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Fri      |                       |                        |                       |                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------

Now if a program is starting at 00:25 and ending at 00:40 (on Monday) it should be displayed as follows:
Days   | 00:00 - 00:15 | 00:16 - 00:30 | 00:31 - 00:45 | 00:46 - 01:00 | 01:01 - 01:15 |.....    
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Mon    |                       |                 ||<   Program A >||   |                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------

But it is getting displayed as follows:

Days   | 00:00 - 00:15 | 00:16 - 00:30 | 00:31 - 00:45 | 00:46 - 01:00 | 01:01 - 01:15 |.....    
--------  ------------------ ------------------  ------------------  ------------------  ------------------
Mon    |                       ||<               Program A           >||                       |                       |               
--------  ------------------ ------------------  ------------------  ------------------  ------------------
i.e. it is taking whole of the two slots where any portion of it lies. Which is incorrect because now the start and end time it is showing is wrong. I couldn't figure out if there is any property in Rad Scheduler which could resolve the issue. I just want to know if there is some way to accomplish this.

regards 

Mohammad Kamran.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 25 Aug 2009, 12:33 PM
Hello Kamran,

This is expected. I recommend you set ColumnWidth="20px" for RadScheduler and use the following timeline view settings:
* * *   
<TimelineView NumberOfSlots="288"  SlotDuration="00:05:00" TimeLabelSpan="3" ColumnHeaderDateFormat="hh:mm" /> 
* * *  
    


Best wishes,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
Mohammad
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or