Hi guys,
I've been dealing this issue for some time now and decided to have another stab at it. I can color code appointments in WebDayView using the following code:
protected void WebScheduleInfo1_DataBinding(object sender, System.EventArgs e) { Appointment cApp; foreach ( cApp in WebScheduleInfo1.Appointments) { cApp.Style.CustomRules = "background-color:red; border: solid 1px; black;"; } }
The problem is its not working when an appointment is a recurring one. Please help me Infragistics!!
Thanks
yep , I have pretty much the same solution except for the outer loops in you code. I'm wondering why my support ticket wasn't responded to if this the solution is as easy as this. I previously sent an email for help to the one who we bought the control and later raised a dev support ticket.
Hey,
This is possible, however, you need to set the style to the specifc occurrence. The best way to do this is listen to the DataBinding event, and walk through all possible visible days and check to see if the appointment is an occurrence. The following code shows how you can do this:
-SteveZ
Holy cow! After spending so much time on this issue, I think I finally solve this
I'll test it further to make sure its working before I post the solution....