var className = args.get_renderDay().DomElement.className;
if (!className.contains("specialDay") && !className.contains("rcSelected")) {
args.set_cancel(true);
}
}
CSS:
.specialDay,
.specialDay :hover
{
background-color: lime;
cursor: pointer !important;
}
.regularDay,
.regularDay :hover
{
cursor: default;
}
Hope this helps. Please give it a try and let us know if it works for you.
Regards,
Eyup
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.