Timeslots in weekview

4 posts, 0 answers
  1. Sander
    Sander avatar
    13 posts
    Member since:
    Aug 2011

    Posted 31 Aug 2011 Link to this post

    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";
                }
  2. Sander
    Sander avatar
    13 posts
    Member since:
    Aug 2011

    Posted 31 Aug 2011 Link to this post

    Edit:

    I already fixed it now, thanks for the help.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. SSirica
    SSirica avatar
    50 posts
    Member since:
    Jan 2007

    Posted 12 Mar 2012 Link to this post

    What was the fix?  I too am having trouble with timeslots in the weekview.
  5. Sander
    Sander avatar
    13 posts
    Member since:
    Aug 2011

    Posted 12 Mar 2012 Link to this post

    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
Back to Top