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

  • Green
  • White
  • Blue

New Month Themes

  • Green
  • White
  • Blue

New Scheduler Themes

  • Green
  • White
  • Blue

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

  • [Calendar] HeightSpec == Parent100Pct supported (build 5397)
  • [Calendar] Theme support added. (build 5398)
  • [Month] Theme support added. (build 5399)
  • [Demo] GoogleLike demo added (Month). (build 5399)
  • Menu themes added. (build 5401)
  • [Calendar] DPC.OnBeforeEventRender/e.ContextMenuClientName fixed. (build 5401)
  • [Demo] Context menu demo added (Calendar). (build 5401)
  • [Month] OnBeforeEventRender/e.ContextMenuClientName fixed. (build 5405)
  • [Calendar] External drag&drop fixed. (build 5405)
  • [Calendar] StartDate now correctly uses only the Date part for calculations. (build 5405)
  • [Calendar] DayPilotCalendarConfig.AjaxErrorJavaScript added. (build 5406)
  • [Calendar] CssOnly mode added. (build 5411)
  • [Calendar] CssOnly property synchronized. (build 5411)
  • [Calendar] CssClassPrefix property synchronized. (build 5411)
  • [Scheduler] CssOnly mode added. (build 5411)
  • [Demo] Green theme added (Scheduler). (build 5411)
  • [Demo] White theme added (Scheduler). (build 5411)
  • [Demo] Blue theme added (Scheduler). (build 5411)
  • [Demo] Green theme added (Calendar). (build 5411)
  • [Demo] White theme added (Calendar). (build 5411)
  • [Demo] Blue theme added (Calendar). (build 5411)
  • [Month] CssOnly mode added. (build 5411)
  • [Demo] Green theme added (Month). (build 5411)
  • [Demo] Blue theme added (Month). (build 5411)
  • [Demo] White theme added (Month). (build 5411)
  • [Calendar] jQuery plugin added. (build 5412)
  • [Month] jQuery plugin added. (build 5412)
  • [Navigator] jQuery plugin added. (build 5412)
  • [Scheduler] jQuery binding added. (build 5412)
  • [Month] Preventing text selection in Chrome (WebkitUserSelect = 'none'). (build 5412)
  • [Month] EventTextLayer = Floats added for improved time and text arrangement inside event boxes. (build 5412)
  • [Calendar] Improved vertical scrollbar detection (prevents header misalignments). (build 5412)
  • [Scheduler] Crosshair fixed for multi-level time headers. (build 5412)
  • [Scheduler] TimeRangeDoubleClick highlighting disabled for TimeRangeDoubleClickHandling=Disabled. (build 5412)
  • [Calendar] External drag&drop fixed. (build 5412)
  • [Scheduler] HeaderHeight="0" allowed. (build 5412)
  • [Month] Bubble Position="EventTop" supported. (build 5412)
  • [Scheduler] OnBeforeEventRender/e.BorderColor supported. (build 5412)
  • [Month] Cursor fixed during drag&drop in Chrome (build 5412)
  • Correctly preventing text selection during drag&drop operations (IE9). (build 5412)
  • [Scheduler] ScrollDelay property added (build 5412)
  • [Scheduler] Events cached in DynamicLoading mode. (build 5412)
  • [Scheduler] Width accepts an empty value (and it's the new default value instead of 100%). The width is determined by the parent (identical to display:block behavior). (build 5412)
  • [Scheduler] Protocol optimizations. (build 5412)
  • [Scheduler] Empty backgroundRepeat error fixed (OnBeforeCellRender). (build 5412)
  • [Scheduler] RowHeaderWidthAutoFit property added. (build 5412)
  • [Calendar] Event resizing using the top border fired EventClick in some cases (IE). (build 5412)
  • [Calendar] Width accepts an empty value (and it's the new default value instead of 100%). The width is determined by the parent (identical to display:block behavior). (build 5412)
  • [Scheduler] style.whiteSpace = null error fixed (IE7, IE8) (build 5412)
  • [Scheduler] TreePreventParentUsage property added. (build 5412)
  • [Demo] "Row Header Width Auto-Fit" demo added (Scheduler). (build 5412)
  • [Demo] "Prevent Parent Usage" demo added (Scheduler). (build 5412)
  • [Demo] "Limit Event Moving" demo added (Scheduler). (build 5412)
  • [Scheduler] e.EventMoveVerticalEnabled and e.EventMoveHorizontalEnabled added to BeforeEventRender (build 5412)
  • [Scheduler] Gantt chart mode implemented (ViewType=Gantt). (build 5412)
  • [Demo] "Gantt" demo added (Scheduler). (build 5412)
  • [Scheduler] Calling e.text("Event text") on an event object updates the HTML automatically. (build 5412)
  • [Calendar] afterRender() executed asynchronously. (build 5412)
  • [Month] afterRender() executed asynchronously. (build 5412)
  • [Scheduler] afterRender() executed asynchronously. (build 5412)
  • [Month] Event moving (dragging) activated time range selection in cell stacking mode. (build 5412)
  • [Month] Using the scrollbar activated time range selection in cell stacking mode. (build 5412)
  • Dropping support for IE6. (build 5412)
  • [Month] Right event border was missing in some columns (Chrome). (build 5412)
  • [Calendar] New event position fixed (event resizing using the top border). (build 5412)
  • [Calendar] Correct cursor during event resizing. (build 5412)
  • [Calendar] Delayed Bubble activation fixed (after the event was destroyed). (build 5412)
  • [Calendar] Bubble not activated when the cursor is in the event resize margin (build 5412)
  • [Scheduler] Event rendering speed improved. (build 5412)
  • [Scheduler] Caching improved in dynamic event loading mode. (build 5412)
  • [Calendar] Irregular column groups alignment in Chrome fixed (Calendar/DaysResourcesView.aspx). (build 5412)
  • [Demo] jQuery demo added (Calendar). (build 5412)
  • [Demo] jQuery demo added (Scheduler). (build 5412)
  • [Demo] jQuery demo added (Month). (build 5412)

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java