I’m playing around with the calendar control and I can’t seem to do the simple task of shading dates. If the user enters 7 dates I want to shade those dates on the calendar so the user knows they have been selected.
Essentially I want do Calendar.HighlightDate(“5/1/11”) => imaginary lol I know this must be simple but I’m gong through the properties on MSDN and not finding anything.
Set the ondayrender event of the calendar object:
Then in your code behind, you can check the date and set the color: