Hello,
I am using Navigator in my view page and i want to bind this with controller. I am not getting how to do this.
My view page code is follows:
<div class="row" id="NavigatorDiv">
<div class="col-md-12">
<div class="form-group">
@Html.DayPilotNavigator("dpn", new DayPilotNavigatorConfig
{
BackendUrl = Url.Content("~/Calendar/BackEndNavigator"),
WeekNumberAlgorithm = DayPilot.Web.Mvc.Enums.Navigator.WeekNumberAlgorithm.Auto,
WeekStarts = DayPilot.Web.Mvc.Enums.WeekStarts.Monday,
ShowMonths = 12,
SelectMode = DayPilot.Web.Mvc.Enums.Navigator.NavigatorSelectMode.Day,
RowsPerMonth = DayPilot.Web.Mvc.Enums.Navigator.RowsPerMonth.Auto,
VisibleRangeChangedHandling = DayPilot.Web.Mvc.Events.Navigator.VisibleRangeChangedHandlingType.JavaScript,
VisibleRangeChangedJavaScript = "editEvent(e)"
})
</div>
</div>
</div>
Please help me out.