Hello.
I have implemented the client-side event OnClientAppointmentDataBound to set property cssClass of RadScheduler appointments:
If the custom attribute "RegisteredMembers" is not empty, property cssClass is set accordingly.
The problem is that, differently from the RadScheduler screen shot displayed on page http://www.telerik.com/help/aspnet-ajax/scheduler-appearance-setting-appointment-style.html, the border of the appointments are not set to yellow; only the background of the appointments are (see attachment).
What am I missing?
Thank you.
Paulo
I have implemented the client-side event OnClientAppointmentDataBound to set property cssClass of RadScheduler appointments:
function
AppointmentDataBound(sender, args)
{
var
app = args.get_appointment();
if
(app.get_attributes().getAttribute(
"RegisteredMembers"
) !=
""
)
{
app.set_cssClass(
"rsCategoryYellow"
);
}
}
If the custom attribute "RegisteredMembers" is not empty, property cssClass is set accordingly.
The problem is that, differently from the RadScheduler screen shot displayed on page http://www.telerik.com/help/aspnet-ajax/scheduler-appearance-setting-appointment-style.html, the border of the appointments are not set to yellow; only the background of the appointments are (see attachment).
What am I missing?
Thank you.
Paulo