Change 'today' in DayPilotNavigator?
12 years ago.
How do you change the DayPilotNavigator to highlight the correct date when you are in a different timezone? I see it is done with css. I tried the following, but that doesn't work...
protected void DayPilotNavigator1_BeforeCellRender(object sender, DayPilot.Web.Ui.Events.Navigator.BeforeCellRenderEventArgs e)
{
// Highlight Today
if (e.Start.ToShortDateString() == GetLocalTime(DateTime.Now).ToShortDateString())
e.CssClass = "navigator_silver_todaybox";
else
e.CssClass = "navigator_silver_daybox";
}
DayPilot