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
80
How to change the event background color in webschedule calendar view
posted

Hi,

i have requirement to change the event color based on some logic.

suppose on date 23's has  events  4-5 events i need to display that event in diffrent color.

is it possible to in webschedule

let me know any sample code or information related about this problem...

 

Thanks

  • 995
    posted

    Hi,

    Loop through the activities to set Style property.

    this.WebScheduleInfo1.Activities[0].Style.BackColor = Color.Red;

    this.WebScheduleInfo1.Activities[1].Style.BackColor = Color.Green;