Release date: September 1, 2012 (build 2638)
Features
Full Calendar/Scheduler/Month CSS Styling Support
Demo
It has to be activated using CssOnly = true.
Documentation
New Calendar Themes
Green
White
Blue
New Month Themes
Green
White
Blue
New Scheduler Themes
Green
White
Blue
Gantt Chart (Scheduler)
Demo
You can enable the Gantt mode using ViewType = Gantt. The rows will be generated automatically from the event set (one row per event).
See Also
Preventing Parent Node Usage (Scheduler)
Demo
Scheduling events in parent tree nodes can be disabled using TreePreventParentUsage = true.
See Also
Limit Event Moving Horizontally or Vertically (Scheduler)
Demo
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 void DayPilotScheduler1_BeforeEventRender(object sender, DayPilot.Web.Ui.Events.Scheduler.BeforeEventRenderEventArgs e)
{
int id = 0;
int.TryParse(e.Value, 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)
Demo
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)
Demo
The already-loaded events are cached when scrolling the Scheduler. This greatly improves usability of the dynamic loading mode (DynamicLoading = true).
API Changes
A few classes were moved to new namespaces (classes previously shared by Calendar and Scheduler are now separate for each control).
-
[Calendar]
BeforeEventRenderEventHandler and BeforeEventRenderEventArgs moved to DayPilot.Web.Ui.Events.Calendar.
(build 2602)
-
[Scheduler]
BeforeEventRenderEventHandler and BeforeEventRenderEventArgs moved to DayPilot.Web.Ui.Events.Scheduler.
(build 2602)
-
[Calendar]
ViewTypeEnum moved to DayPilot.Web.Ui.Enums.Calendar.
(build 2603)
-
[Scheduler]
ViewTypeEnum moved to DayPilot.Web.Ui.Enums.Scheduler.
(build 2603)
Implemented
-
[Month]
Preventing text selection in Chrome (WebkitUserSelect = 'none').
(build 2523)
-
[Month]
EventTextLayer = Floats added for improved time and text arrangement inside event boxes.
(build 2523)
-
[Calendar]
Improved vertical scrollbar detection (prevents header misalignments).
(build 2527)
-
[Calendar]
HideFreeCells supported in image export.
(build 2528)
-
[Calendar]
ClearType font antialiasing mode used for image export.
(build 2529)
-
[Month]
ClearType font antialiasing mode used for image export.
(build 2529)
-
[Month]
Cell borders and day header background fixed (image export).
(build 2529)
-
[Scheduler]
Crosshair fixed for multi-level time headers.
(build 2530)
-
[Scheduler]
EventFontColor/e.FontColor applied correctly during image export.
(build 2531)
-
[Scheduler]
TimeRangeDoubleClick highlighting disabled for TimeRangeDoubleClickHandling=Disabled.
(build 2532)
-
[Scheduler]
commandPostBack() added.
(build 2532)
-
[Scheduler]
ShowEventStartEnd property added.
(build 2535)
-
[Calendar]
External drag&drop fixed.
(build 2539)
-
[Scheduler]
HeaderHeight="0" allowed.
(build 2554)
-
[Scheduler]
CssOnly property allows pure CSS styling.
(build 2554)
-
[Calendar]
ShowEventStartEnd default value set to false.
(build 2559)
-
[Navigator]
Days visible in other month boxes are no longer displayed (if InnerHTML is overriden in BeforeCellRender InnerHTML).
(build 2566)
-
[Calendar]
Firing a new callback request from afterRender was causing an infinite loop in some cases
(build 2578)
-
[Scheduler]
BeforeEventRender/e.BorderColor supported.
(build 2579)
-
[Month]
Bubble Position="EventTop" supported.
(build 2580)
-
Correctly preventing text selection during drag&drop operations (IE9).
(build 2581)
-
[Month]
Cursor fixed during drag&drop in Chrome
(build 2581)
-
[Scheduler]
ScrollDelay property added
(build 2582)
-
[Scheduler]
Events cached in DynamicLoading mode.
(build 2583)
-
[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 2584)
-
Unicode properly decoded from compressed POST callback requests (iuppiter.js).
(build 2586)
-
[Scheduler]
Protocol optimizations.
(build 2586)
-
[Scheduler]
Empty backgroundRepeat error fixed (BeforeCellRender).
(build 2588)
-
[Scheduler]
RowHeaderWidthAutoFit property added.
(build 2590)
-
[Calendar]
Event resizing using the top border fired EventClick in some cases (IE).
(build 2593)
-
[Demo]
TextBox with a date added to Calendar/DatePicker.aspx demo.
(build 2595)
-
[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 2595)
-
[Scheduler]
style.whiteSpace = null error fixed (IE7, IE8)
(build 2596)
-
[Scheduler]
TreePreventParentUsage property added.
(build 2596)
-
[Calendar]
BeforeEventRenderEventHandler and BeforeEventRenderEventArgs moved to DayPilot.Web.Ui.Events.Calendar.
(build 2602)
-
[Scheduler]
BeforeEventRenderEventHandler and BeforeEventRenderEventArgs moved to DayPilot.Web.Ui.Events.Scheduler.
(build 2602)
-
[Scheduler]
e.EventMoveVerticalEnabled and e.EventMoveHorizontalEnabled added to BeforeEventRender
(build 2602)
-
[Demo]
"Limit Event Moving" demo added (Scheduler).
(build 2602)
-
[Demo]
"Row Header Width Auto-Fit" demo added (Scheduler).
(build 2602)
-
[Demo]
"External Drag&Drop" demo added (Scheduler).
(build 2602)
-
[Demo]
"Prevent Parent Usage" demo added (Scheduler).
(build 2602)
-
[Scheduler]
Gantt chart mode implemented (ViewType=Gantt).
(build 2603)
-
[Demo]
"Gantt" demo added (Scheduler).
(build 2603)
-
[Calendar]
ViewTypeEnum moved to DayPilot.Web.Ui.Enums.Calendar.
(build 2603)
-
[Scheduler]
ViewTypeEnum moved to DayPilot.Web.Ui.Enums.Scheduler.
(build 2603)
-
[Scheduler]
Calling e.text("Event text") on an event object updates the HTML automatically.
(build 2605)
-
[Calendar]
afterRender() executed asynchronously.
(build 2607)
-
[Scheduler]
afterRender() executed asynchronously.
(build 2607)
-
[Month]
afterRender() executed asynchronously.
(build 2607)
-
[Month]
Using the scrollbar activated time range selection in cell stacking mode.
(build 2607)
-
[Month]
Event moving (dragging) activated time range selection in cell stacking mode.
(build 2607)
-
Dropping support for IE6.
(build 2608)
-
[Month]
Right event border was missing in some columns (Chrome).
(build 2608)
-
[Calendar]
Correct cursor during event resizing.
(build 2614)
-
[Calendar]
EventClick not fired anymore after EventResize is finished.
(build 2614)
-
[Calendar]
Delayed Bubble activation fixed (after the event was destroyed).
(build 2614)
-
[Calendar]
New event position fixed (event resizing using the top border).
(build 2614)
-
[Calendar]
Bubble not activated when the cursor is in the event resize margin
(build 2614)
-
[Scheduler]
Caching improved in dynamic event loading mode.
(build 2615)
-
[Scheduler]
Event rendering speed improved.
(build 2615)
-
[Demo]
Blue theme added (Calendar).
(build 2620)
-
[Demo]
White theme added (Calendar).
(build 2620)
-
[Month]
Message bar layer fixed.
(build 2623)
-
[Demo]
Blue theme added (Month).
(build 2623)
-
[Demo]
White theme added (Month).
(build 2623)