dmp-hideweekend.png

The Monthly Calendar supports 5-day work week view.

You can enable it using ShowWeekend property.

ASP.NET WebForms

<DayPilot:DayPilotMonth runat="server" id="DayPilotMonth1"
  ...
  ShowWeekend = false
/>

ASP.NET MVC

@Html.DayPilotMonth("dpm", new DayPilotMonthConfig {
  BackendUrl = ResolveUrl("~/Month/Backend"),
  ...
  ShowWeekend = false
})

JavaScript

<div id="dp"></div>
<script type="text/javascript">
  var dp = new DayPilot.Month("dp");
  dp.showWeekend = false;
  // ...
  dp.init();
</script>

Java (JSP)

<div id="dp"></div>
<script type="text/javascript">
  var dp = new DayPilot.Month("dp");
  dp.backendUrl = "${pageContext.request.contextPath}/dpm";
  dp.showWeekend = false;
  // ...
  dp.init();
</script>