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

RadScheduler

2 Answers 47 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 04 Nov 2008, 08:48 AM
I'm binding a radscheduler with a datasource...the problem is that the appointments are not getting displayed in the correct cells (time slots in weekly view  and day slots in monthly view)....


I have fromTime,ToTime (time only )and date (date only) fields in the DataSource....

time field's format = hh:mm:ss (12h)
date field's format = dd-mmm-yyyy

Do I have to apply specific formats  on the fields?

2 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 04 Nov 2008, 03:17 PM
Hi john,

All appointments should have Start and End fields in the data base and they should be of type DateTime with both date and time. For example:

 //starts on November 5, 2008 at 9 am  
        DateTime validStartTime = new DateTime(2008, 11, 5, 9, 0, 0);  
 
        //this is not a valid DateTime for RadScheduler:  
        DateTime invalidStartTime = new DateTime(2008, 11, 5); 
 


Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
john
Top achievements
Rank 1
answered on 04 Nov 2008, 05:25 PM
thanks a lot for your help Peter.
Tags
Scheduler
Asked by
john
Top achievements
Rank 1
Answers by
Peter
Telerik team
john
Top achievements
Rank 1
Share this question
or