Skip to content
DayPilot

DayPilot Pro for ASP.NET WebForms 7.6

Release date: November 6, 2013 (build 7.6.3002)

Features

Independent Time Headers (Scheduler)

Example

scheduler asp.net timeline header

<DayPilot:DayPilotScheduler 
Scale="Week"
...
>
<TimeHeaders>
    <DayPilot:TimeHeader GroupBy="Month"  />
    <DayPilot:TimeHeader GroupBy="Week" />
</TimeHeaders>
</DayPilot:DayPilotScheduler>

New properties:

Obsolete:

Time Header Date Format (Scheduler)

scheduler asp.net timeline days hours

TimeHeaders collection allows you to specify the DateTime format for each time header level separately.

Example:

<DayPilot:DayPilotScheduler
  ...
  >
  <TimeHeaders>
    <DayPilot:TimeHeader GroupBy="Day" Format="d" />
    <DayPilot:TimeHeader GroupBy="Hour" />
  </TimeHeaders>
</DayPilot:DayPilotScheduler>

Custom Timeline (Scheduler)

scheduler asp.net timeline custom

You can build your own timeline from individual cells. Use Timeline collection and set Scale=Manual.

Example

private void CreateTimeline()
{
  DayPilotScheduler1.Timeline.Clear();

  // this month
  DateTime first = new DateTime(DateTime.Today.Year, DateTime.Today.Month, 1);
  int duration = DateTime.DaysInMonth(first.Year, first.Month);
  for (int i = 0; i < duration; i++)
  {
      DateTime start = first.AddDays(i);
      DateTime end = start.AddDays(1);
      DayPilotScheduler1.Timeline.Add(start, end);
  }
}

Non-Linear Timeline (Scheduler)

scheduler asp.net timeline non linear

The time cells in the custom timeline don't have to use the same duration and width.

The following example creates a timeline showing the current month (one day per cell) and three subsequent months (one month per cell).

Example:

private void CreateTimeline()
{
  DayPilotScheduler1.Timeline.Clear();

  // this month
  DateTime first = new DateTime(DateTime.Today.Year, DateTime.Today.Month, 1);
  int duration = DateTime.DaysInMonth(first.Year, first.Month);
  for (int i = 0; i < duration; i++)
  {
      DateTime start = first.AddDays(i);
      DateTime end = start.AddDays(1);
      DayPilotScheduler1.Timeline.Add(start, end);
  }

  // three additional months
  first = first.AddDays(duration);
  for (int i = 0; i < 3; i++)
  {
      DateTime start = first.AddMonths(i);
      DateTime end = start.AddMonths(1);
      DayPilotScheduler1.Timeline.Add(start, end, 100);
  }
}

Month Cell Duration (Scheduler)

scheduler asp.net timeline months

It is possible to display one month per cell.

<DayPilot:DayPilotScheduler 
  Scale="Week"
  ...
  >
  <TimeHeaders>
      <DayPilot:TimeHeader GroupBy="Month"  />
      <DayPilot:TimeHeader GroupBy="Week" />
  </TimeHeaders>
</DayPilot:DayPilotScheduler>

Year Cell Duration (Scheduler)

scheduler asp.net timeline years

It is possible to display one year per cell.

<DayPilot:DayPilotScheduler 
  Scale="Year"
  ...
  >
  <TimeHeaders>
      <DayPilot:TimeHeader GroupBy="Year" />
  </TimeHeaders>
</DayPilot:DayPilotScheduler>

Grid Rendering Optimizations (Scheduler)

scheduler asp.net time grid

1. DynamicEventRenderingCacheSweeping and DynamicEventRenderingCacheSize properties work properly. When event cache sweeping is enabled (it is disabled by default) the events that are out of range are deleted (keeping only the number specified using DynamicEventRenderingCacheSize).

2. The same functionality is available for background cells. At this moment it is enabled by default and the cache size is set to 0 (i.e. no invisible recent cells are kept when scrolling).

3. It is possible not to render the background cells that don't have any custom properties specified (such as background color, css, html). This option is not accessible through ASP.NET properties at this moment (only using JavaScript). 

Improvements

Fixes