how to make resource available "timings" in radscheduler

2 posts, 0 answers
  1. Hiren
    Hiren avatar
    62 posts
    Member since:
    Dec 2010

    Posted 08 Nov 2011 Link to this post

    we want to mark time slots back color based on resource available timings. 
    We will save Resource available timings in appointments format.
    Please let us know the solution for this.

  2. Ivana
    Ivana avatar
    657 posts

    Posted 10 Nov 2011 Link to this post

    Hi Hiren,

    You could subscribe to the OnTimeSlotCreated server-side event and color the TimeSlots in there, as in the code-block below:
    protected void RadScheduler1_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
         if (e.TimeSlot.Control!=null)
               e.TimeSlot.Control.BackColor = System.Drawing.Color.Red;

    Also, you could take a look at the attached sample page which shows how the TimeSlots could be customized.

    I hope this helps.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top