Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
Change Recurrence Background color
posted

Hello, I have a WebscheduleInfo with some activities, I change activity bg color at runtime in WebScheduleInfo_DataBinding event and everything works fine, but, when I have a recurring activity all recurrences bg color changes to transparent and then I loose my custom background, is there a way to change recurring activities bg color individually?

Thanks

  • 95
    Verified Answer
    posted

    If you have a custom dataprovider you could try  something like this when you fetch the activities.

    If (reccurance)
    appointment.Style.ForeColor = Color.Black;
    appointment.Style.BackColor = Color.LightBlue;

    That will set the background and foreground color for all appts that have reccurance.

    Hope this helps.