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

Timeslots in weekview

3 Answers 38 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Sander
Top achievements
Rank 1
Sander asked on 31 Aug 2011, 08:34 AM
Hello again, I have a problem with my timeslots. It works fine when I am using the dayview, but when I am in weekview my timeslots are not displaying. 

I have to timeslots in my weekview and it looks like this, and it's not working. It only shows one big gray field. 

EIDT: I fixed it now, thanks.

if (e.TimeSlot.Start <= new DateTime(2011, 8, 31, 10, 15, 00) || e.TimeSlot.Start >= new DateTime(2011, 8, 31, 15, 00, 00))
            {
                 
                Debug.WriteLine(e.TimeSlot.Start);
                //Debug.WriteLine(e.TimeSlot.Start);
                e.TimeSlot.CssClass = "Disabled";
            }
 
if (e.TimeSlot.Start <= new DateTime(2011, 8, 29, 10, 15, 00) || e.TimeSlot.Start >= new DateTime(2011, 8, 29, 15, 00, 00))
            {
                 
                Debug.WriteLine(e.TimeSlot.Start);
                //Debug.WriteLine(e.TimeSlot.Start);
                e.TimeSlot.CssClass = "Disabled";
            }

3 Answers, 1 is accepted

Sort by
0
Sander
Top achievements
Rank 1
answered on 31 Aug 2011, 11:09 AM
Edit:

I already fixed it now, thanks for the help.
0
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
answered on 12 Mar 2012, 03:16 PM
What was the fix?  I too am having trouble with timeslots in the weekview.
0
Sander
Top achievements
Rank 1
answered on 12 Mar 2012, 04:00 PM
Hello,

This was a while ago, and I am not remembering the solution anymore, I am sorry. I forgot to post the solution. Currently I am not working with Telerik anymore.

Sander
Tags
Scheduler
Asked by
Sander
Top achievements
Rank 1
Answers by
Sander
Top achievements
Rank 1
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
Share this question
or