I have a feeling this has something to do with my implementation, but I cannot figure out how to fix this. I have a RadScheduler control set up with a custom provider that only provides the method stubs (does not return any data). For simplicity, I am not returning any appointments with the provider. The RadScheduler is set up with the Outlook skin, but I get this issue with all skins.
I am starting in the day view. My issue is that when the page initially loads, my CSS does not seem to get applied Ultimately what I am going for is to have the non-work hours grayed out. Once the page loads, if I click the link to show all hours, then the page refreshes and my CSS is applied. Likewise, if I start in week view the CSS does not initially show; but if I then switch to Day view, the CSS is applied. Can someone point me to what I may be doing wrong?
On the page that contains the RadScheduler, I have the following CSS Snippet:
<style type="text/css">
.RadScheduler_Outlook .rsCell
{
background-color: #BAACA8;
}
</style>
In my Page Load event, all I have is the following:
RadScheduler1.Provider = New MyProvider()
SetDayTimes()
The Navigate event for the Scheduler contains only this line:
SetDayTimes()
This is the tag for my RadScheduler control:
<telerik:RadScheduler ID="RadScheduler1" runat="server" OverflowBehavior="Expand" Skin="Outlook"></telerik:RadScheduler>
The SetDayTimes method simply sets the DayStartTime, DayEndTime, WorkDayStartTime, and WorkDayEndTime values to preset TimeSpans.
Thanks,
Andrew
I am starting in the day view. My issue is that when the page initially loads, my CSS does not seem to get applied Ultimately what I am going for is to have the non-work hours grayed out. Once the page loads, if I click the link to show all hours, then the page refreshes and my CSS is applied. Likewise, if I start in week view the CSS does not initially show; but if I then switch to Day view, the CSS is applied. Can someone point me to what I may be doing wrong?
On the page that contains the RadScheduler, I have the following CSS Snippet:
<style type="text/css">
.RadScheduler_Outlook .rsCell
{
background-color: #BAACA8;
}
</style>
In my Page Load event, all I have is the following:
RadScheduler1.Provider = New MyProvider()
SetDayTimes()
The Navigate event for the Scheduler contains only this line:
SetDayTimes()
This is the tag for my RadScheduler control:
<telerik:RadScheduler ID="RadScheduler1" runat="server" OverflowBehavior="Expand" Skin="Outlook"></telerik:RadScheduler>
The SetDayTimes method simply sets the DayStartTime, DayEndTime, WorkDayStartTime, and WorkDayEndTime values to preset TimeSpans.
Thanks,
Andrew