Skip to content
DayPilot

DayPilot Pro for ASP.NET MVC 7.3 SP3

Release date: May 10, 2013 (build 5527)

Highlighting Free/Busy Days in Navigator

event calendar asp.net mvc free busy

Example

Views/Calendar/Index.aspx

<%= Html.DayPilotNavigator("dpn", new DayPilotNavigatorConfig { 

  BackendUrl = ResolveUrl("~/Calendar/NavigatorBackend"),
  VisibleRangeChangedHandling = VisibleRangeChangedHandlingType.CallBack
            
})%>

Demo/App_Code/CalendarController.cs

  public ActionResult NavigatorBackend()
  {
    return new Dpn().CallBack(this);
  }

  public class Dpn : DayPilotNavigator
  {
    protected override void OnFinish()
    {
      Events = new EventManager(Controller).Data.AsEnumerable();

      DataStartField = "start";
      DataEndField = "end";
      DataIdField = "id";

    }
  }

Improvements

Fixes