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

Controlling background color in RadScheduler

9 Answers 395 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 16 Mar 2008, 06:13 AM
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?

9 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Mar 2008, 03:11 PM
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
0
Bob
Top achievements
Rank 1
answered on 17 Mar 2008, 03:47 PM
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?
0
Peter
Telerik team
answered on 17 Mar 2008, 05:52 PM
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
0
John Giblin
Top achievements
Rank 1
answered on 12 Sep 2008, 04:20 PM
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.

0
Peter
Telerik team
answered on 15 Sep 2008, 11:23 AM
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.
0
John Giblin
Top achievements
Rank 1
answered on 01 Feb 2009, 03:49 AM
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?
0
Peter
Telerik team
answered on 03 Feb 2009, 02:31 PM
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.
0
John Giblin
Top achievements
Rank 1
answered on 09 Feb 2009, 12:53 AM
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.
0
Peter
Telerik team
answered on 10 Feb 2009, 03:49 PM

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.
Tags
Scheduler
Asked by
Bob
Top achievements
Rank 1
Answers by
Peter
Telerik team
Bob
Top achievements
Rank 1
John Giblin
Top achievements
Rank 1
Share this question
or