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

Change Style of Cell in Month View

2 Answers 65 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Iry Lee
Top achievements
Rank 2
Iry Lee asked on 05 Apr 2010, 12:43 PM
Hi,

I wanted to change the style of cell in month view if there is any all day appointment, i tried to search through the css file but i cant find any class that i can override like what i want.

Now i only manage to make all the weekdays in a month to change color where i edit the css code from here:
http://www.telerik.com/help/aspnet-ajax/how-to-change-style-of-today-cell-in-month-view.html

 div.RadScheduler_[skinName]  .rsMonthView
background-color: #CCFF00; 
}  

The code above will make all weekdays in a month change to the color i set, but i have no idea how to make it only change while there are any all day appointment for that day. Which class i should override in order to get the result i want?

Thanks in advance.

Regards,
Iry





2 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 08 Apr 2010, 10:21 AM
Hi Iry,

The following kb article will help you with this task:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/setting-special-days-or-time-slots-in-radscheduler.aspx

In TimeSlotCreated, loop through all the appointments for this timeslot and check if their Duration is 24 hours. If true, then set the special css style for this time slot.


Kind regards,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Iry Lee
Top achievements
Rank 2
answered on 09 Apr 2010, 07:49 AM
Hi,

Thanks a lot, Peter!
I manage to get it work. :)

Best Regards,
Iry

Tags
Scheduler
Asked by
Iry Lee
Top achievements
Rank 2
Answers by
Peter
Telerik team
Iry Lee
Top achievements
Rank 2
Share this question
or