The date appearing in dp_week doesn't change and the date selected in navigator doesn't change. I put in the alert to confirm that it is getting the right date and it executes the switcher command, so the code isn't failing. Here is my code snippet:
@Html.DayPilotMonth("dp_month", new DayPilotMonthConfig
{
BackendUrl = Url.Content("~/Backend/Month"),
CssOnly = true,
CssClassPrefix = "month_white",
EventHeight = 25,
EventClickHandling = DayPilot.Web.Mvc.Events.Month.EventClickHandlingType.JavaScript,
EventClickJavaScript = "ChangePage(e.start())",
EventDoubleClickHandling = DayPilot.Web.Mvc.Events.Month.EventDoubleClickHandlingType.JavaScript,
EventDoubleClickJavaScript = "TripEdit(e.id())",
})
</div>
</div>
<script type="text/javascript">
function ChangePage(start) {
alert(start);
dp_navigator.select(start);
switcher.select(dp_week);
}