I'm trying to get the color of the appointment for a resource and the header when using grouping to match also. I can set the colors of both but not using the built-in css styles.
Sub Page_Load
sqlConn.Open()
sqlDataRdr = sqlCmd.ExecuteReader()
RadScheduler1.ResourceStyles.Clear()
Do While sqlDataRdr.Read()
If Not System.DBNull.Value.Equals(sqlDataRdr.Item("ID")) Then
RadScheduler1.ResourceStyles.Add(New ResourceStyleMapping("Calendar", sqlDataRdr.Item("ID"), sqlDataRdr.Item("colorStyle")))
End If
Loop
sqlConn.Close()