Skip to content
DayPilot

DayPilot Pro 4.2

Released on November 10, 2007 (build 1264).

Features

F50 CSS class styling (DayPilot Calendar & DayPilot Scheduler)

It is be possible to set selected style properties using CSS class rather than by control properties: 

Headers:

Events:

Background cells:

Border between hour cells (DayPilot Calendar):

Border inside an hour (DayPilot Calendar only):

Border between cells (DayPilot Scheduler only):

These classes definitions can be overriden by setting the individual styles (just like in regular HTML).

Declaration example:

Style:

<style type="text/css">
.daypilot.event {
    background-color: lightyellow;
    color: #808080;
    font-family: Tahoma;
    font-size: 8pt;
} .daypilot.header {
    font-family: Tahoma;
    font-size: 10pt;
    background-color: silver;
} .daypilot.cellbackground {
    background-color: white;
}

.daypilot.hourcellborder {
    border-bottom: 1px solid red;
}

.daypilot.hourhalfcellborder {
    border-bottom: 1px solid green;
}

</style>

DayPilotCalendar:

<DayPilot:DayPilotCalendar ID="DayPilotCalendar1" runat="server" DataSourceID="XmlDataSource1"
        DataTextField="name" DataValueField="id" StartDate="2007-01-01" DataStartField="Start"
        DataEndField="End" Days="7" Width="100%" EventBackColor="" EventFontFamily="" HourNameBackColor=""
        EventFontSize="" HeaderFontFamily="" HeaderFontSize="" NonBusinessBackColor="" BackColor=""
        HourBorderColor="" HourHalfBorderColor="" CssClass="daypilot"
>
    </DayPilot:DayPilotCalendar>

(F15) Bubbles (DayPilot Calendar & DayPilot Scheduler)

DayPilot Bubble shows event details when mouse stays on an event for a while.

Customizable properties:

Usage

Example

Assigning

    <daypilot:daypilotcalendar id="DayPilotCalendar1" runat="server" 
        ...
        BubbleID="DayPilotBubble1"
        ShowToolTip="False"
        ></daypilot:daypilotcalendar>

DayPilotBubble declaration

    <DayPilot:DayPilotBubble ID="DayPilotBubble1" runat="server" 
       OnRenderContent="DayPilotBubble1_RenderContent" ClientObjectName="bubble">
    </DayPilot:DayPilotBubble>

Content generation

    protected void DayPilotBubble1_RenderContent(object sender, BubbleRenderContentEventArgs e)
    {
        e.InnerHTML = "<b>Event details</b><br />Here is the right place" +
          "to show details about the event with ID: " + e.Argument +
          ". This text is loaded dynamically from the server.";
    }

Other

DayPilot Calendar

DayPilot Scheduler

Demo