Hi,
We are using rad scheduler to show particular appointments, here the problem is it showing separate color for weak ends and non business hours, when some default themas were applied. So we do not need that separate color.
- How can we remove that separate color for both weak ends and non business hours ?
And we already followed some other way to implement this one, below is the code to represent the way which we followed.
In aspx page we give one style :-
<style type="text/css">
.MyClass
{
background-color: White !important;
}
</style>
In aspx.cs page we wrirren the followed code :-
protected void RadScheduler1_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
{
if (RadScheduler1.SelectedView == SchedulerViewType.WeekView || RadScheduler1.SelectedView == SchedulerViewType.DayView)
{
if (e.TimeSlot.Start.Date.DayOfWeek == DayOfWeek.Saturday || e.TimeSlot.Start.Date.DayOfWeek == DayOfWeek.Sunday)
{
e.TimeSlot.CssClass = "MyClass";
}
}
}
OutPut :-
Please find attached for out put. But this is not the exact output which we are expecting.
If u observe my scree shot u will come to know that separate colors, i want every thing should be in white color.
Kindly help me out from this.