Scheduler

1 posts, 0 answers
  1. nagesh Mynedi
    nagesh Mynedi avatar
    9 posts
    Member since:
    Oct 2009

    Posted 30 Oct 2009 Link to this post

    When i write this code it applied the total cell ...

     

    protected void RadScheduler1_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)

     

    {

     

    switch (e.TimeSlot.Start.Date.DayOfWeek)

     

    {

     

    case DayOfWeek.Monday:

     

    e.TimeSlot.CssClass =

    "rsCategoryRed";

     

     

    break;

     

     

    case DayOfWeek.Sunday:

     

    e.TimeSlot.CssClass =

    "rsCategoryBlue";

     

     

    break;

     

     

    case DayOfWeek.Wednesday:

     

    e.TimeSlot.CssClass =

    "rsCategoryYellow";

     

     

    break;

     

     

    case DayOfWeek.Tuesday:

     

    e.TimeSlot.CssClass =

    "rsCategoryBlack";

     

     

    break;

     

     

    default:

     

     

    break;

     

    }

    }

    Ineed to apply the Wraptext box in the entire cell.......

Back to Top