Controlling background color in RadScheduler

10 posts, 0 answers
  1. Bob
    Bob avatar
    10 posts
    Member since:
    Feb 2007

    Posted 16 Mar 2008 Link to this post

    I need to be able to control the calendar background color, pixel by pixel for specific rows, to show when a resource is available (green) or not available (red).  Is there a way to easily do this?
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 17 Mar 2008 Link to this post

    Hi Bob,

    I am not sure what exactly you want to achieve, but here are a couple of links on RadScheduler appearance,  which might hel you get started.

    Set different styles for appointments

    Set alternating style for the rows  

    If this is different from what you need, please elaborate and we will try fo find a solution.



    Kind regards,
    Peter
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bob
    Bob avatar
    10 posts
    Member since:
    Feb 2007

    Posted 17 Mar 2008 Link to this post

    The second link is close to what I want but I need a little more control.  Let's say for example that I want to shade the background differently for the times from 8:00 am - 9:30 am and for 11:00 am - 11:45 am.  Is that level of control possible?
  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 17 Mar 2008 Link to this post

    Hello Bob,

    That's a very reasonable scenario, but currently it is not possible. Most likely we will implement a server event, for example OnTimeSlotCreated, in which you can set a css class for that particular slot. There is some possibility that this feature will appear for the upcoming Q1 2008 in April, but more likely it will be implemented for the next Q2 2008 release.


    Regards,
    Peter
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. John Giblin
    John Giblin avatar
    155 posts
    Member since:
    Jan 2006

    Posted 12 Sep 2008 Link to this post

    I wanted to know if there was an update to this since it is Q2 2008 now.

    I am trying to do something similar where I can show with a colors or styles the available times and unavailable times.

  7. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 15 Sep 2008 Link to this post

    Hello John,

    Please, view this kb article.

    Greetings,
    Peter
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  8. John Giblin
    John Giblin avatar
    155 posts
    Member since:
    Jan 2006

    Posted 31 Jan 2009 Link to this post

    I looked that KB.   the background only changes the color when I hover over the timeslot. I am trying to getting a different background color for a timeslot. Is that posible?
  9. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 03 Feb 2009 Link to this post

    Hi John,

    Here is the updated kb article with a demo attached:
    http://www.telerik.com/support/kb/aspnet-ajax/scheduler/setting-special-days-or-time-slots-in-radscheduler.aspx

    Let us know if you still experience any problems.

    Kind regards,
    Peter
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  10. John Giblin
    John Giblin avatar
    155 posts
    Member since:
    Jan 2006

    Posted 08 Feb 2009 Link to this post

    I not sure if I am missing anything with that demo,  but to get the background color to be a different color, I change the style to the following:

            td.Disabled>div
            {
                background-color: Gray;
            }

    thanks.
  11. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 10 Feb 2009 Link to this post


    Thanks John. We will review the kb as per your feedback.

    Regards,
    Peter
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017