It seems that I am missing something when I tried to change the style of an appointment. I am catching the AppointmentDataBound event, and I set the CssClass, but it seems that it gets changed to “rsAptContent” after this event and I don’t know where. Any help someone could provide would be much appreciated.
Protected Sub RadSchedulerInterventions_AppointmentDataBound(ByVal sender As Object, ByVal e As SchedulerEventArgs)
Dim EndDateFinalized As Boolean = e.Appointment.Attributes("EndDateFinalized")
If EndDateFinalized Then
e.Appointment.CssClass = "rsCategoryPattern"
e.Appointment.BorderColor = Drawing.Color.FromName("#B0CC9B")
Else
e.Appointment.BackColor = Drawing.Color.FromName("#edd5b7")
e.Appointment.BorderColor = Drawing.Color.FromName("#cdb597")
End If
End Sub