I am trying to change the font size and weight of appointment text shown in scheduler from code behind but it is not taking any effect.
protected void Page_Init(object sender, EventArgs e)
{
List<Appointment> list = (List<Appointment>)this.VacationScheduler.Provider.GetAppointments(this.VacationScheduler);
foreach (Appointment p in list)
{
p.CssClass = "boldy";
p.Font.Italic = true;
}
}
CSS:
-------
<style type="text/css">
.boldy
{
font-style:italic !important;
font-weight:bold !important;
}
</style>
It is not taking effect.
Any suggestions?