|
|
Try the online demo:
AJAX-style event creating, moving, resizing, and deleting
Context menu
Day view
Work week view
Week view
Month view
Horizontal/vertical resources view
PostBack/AJAX/JavaScript event handling
Binding to XmlDataSource, SqlDataSource, DataTable, ArrayList
Custom event formatting
UpdatePanel compatibility
Custom event renderingThere is a special event (BeforeEventRender) that is executed before rendering an event. By handling this event you can modify the calendar event content and properties:
This will allow the following functionality, useful especially for scheduling and time-tracking applications:
ExampleCustomEventFormatting.aspx: <daypilot:daypilotcalendar id="DayPilotCalendar1" runat="server" DataSourceID="XmlDataSource1" CustomEventFormatting.aspx.cs: protected void DayPilotCalendar1_BeforeEventRender(object sender, In this example we use custom InnerHTML, DurationBarColor, and BackgroundColor when we detect an event with a specific Value (that comes from DataValueField). Getting the additional data for custom contentThe Tag property can keep additional event-specific data. You can specify multiple columns of your data source to be stored with the event (DataTagFields): DataTagFields="eventtype, eventowner" In the BeforeEventRender event handler you will access these fields using the Tag property:
Server-side event arguments (BeforeEventRenderEventArgs)It is possible to change the following properties: Appearance properties:
Behavior properties:
You can also use the following properties when determining the action:
DayPilot Pro is an advanced DayPilot edition. You can check a thumbnail overview of the most interesting features. There is also an online demo with all the features working (including the AJAX features). If you want to test the design-time support and API you can download a fully functional trial version. And if you like it, you can buy a full version with source code and 12 months of upgrades and support (with a 30-days money back guarantee). DayPilot Lite is a do-it-yourself open-source edition of DayPilot. Although it misses some DayPilot Pro features, there are thousands of developers using it to build calendar, personal scheduling, and resource booking applications. |