Skip to content
DayPilot

DayPilot Pro for ASP.NET MVC 1.6

Release date: September 2, 2012 (build 5417)

Features

jQuery Plugin

The main widgets (Calendar, Scheduler, Month, Navigator) can be activated using a jQuery plugin.

Example

<div id="dpc_jquery"></div>

<script type="text/javascript">
  $(document).ready(function() {
    $("#dpc_jquery").daypilotCalendar({
      backendUrl: '<%= ResolveUrl("~/Calendar/Backend") %>',
      viewType: "Week",
      showAllDayEvents: true,
      allDayEventHeight: 25,
      cssClassPrefix: "calendar_green"
    });
  });
</script> 

Full Calendar/Scheduler/Month CSS Styling Support

It has to be activated using CssOnly = true.

The sample theme is based on CSS3. It will be rendered in a simplified way in IE (no gradients).

New Calendar Themes

New Month Themes

New Scheduler Themes

Gantt Chart (Scheduler)

You can enable the Gantt mode using ViewType = Gantt. The rows will be generated automatically from the event set (one row per event).

Preventing Parent Node Usage (Scheduler)

Scheduling events in parent tree nodes can be disabled using TreePreventParentUsage = true.

Limit Event Moving Horizontally or Vertically (Scheduler)

You can limit the directions in which the event can be moved in BeforeEventRender event handler using e.EventMoveVerticalEnabled and e.EventMoveHorizontalEnabled properties.

Example

protected override void OnBeforeEventRender(BeforeEventRenderArgs e)
{
  int id = 0;
  int.TryParse(e.Id, out id);

  if (id % 2 == 0)
  {
    e.DurationBarColor = "red";
    e.EventMoveVerticalEnabled = false;
  }
  else
  {
    e.DurationBarColor = "blue";
    e.EventMoveHorizontalEnabled = false;
  }
}

Row Header Width Auto-Fit (Scheduler)

The row header width can be adjusted automatically to fit the longest text (RowHeaderWidthAutoFit = true). This feature is enabled by default.

Event Caching in Dynamic Event Loading Mode (Scheduler)

The already-loaded events are cached when scrolling the Scheduler. This greatly improves usability of the dynamic loading mode (DynamicLoading = true).

Implemented