|
|
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
DayPilot Pro 3.83.8 beta (build 1075) released on June 28, 2007. (F23) XHTML/JavaScript code optimizationThe HTML footprint of the controls was reduced. At the cost of a fraction of a second (necessary for the JavaScript initialization) the download times are now much shorter. See examples for both DayPilotCalendar and DayPilotVertical: DayPilotCalendar (in week view)
DayPilotVertical (in month view)
(F22) Calendar event selectingEventClick will have an additional event handling type: Select. The selected event will be emphasized and the information about the selected event will be available using the client-side API. The selecting can execute PostBack/CallBack events on the server-side or custom JavaScript on the client-side. The selected Event object is accessible using DayPilotCalendar.selectedEvent() method. See also: Event selecting demo (F37) StartDate switching using AJAXThere is a new client-side API for switching the StartDate using AJAX call. It allows implementing date switching buttons like these: Three function overloads are available: DayPilotCalendar.Calendar.refreshCallBack() Refreshes the events (but doesn't change the StartDate). This is useful when the events are changed using another AJAX control that doesn't refresh DayPilotCalendar. DayPilotCalendar.Calendar.refreshCallBack(days) Changes the StartDate for the number of days (integer - positive or negative). Examples:
Note: "dpc1" is the value of ClientObjectName property. DayPilotCalendar.Calendar.refreshCallBack(date) Changes the StartDate to the specified date (Date object). Example:
Server-side handling It is necessary to handle the server-side event Refresh in order to actually refresh the view. The target StartDate will be passed in the event arguments: protected void DayPilotCalendar1_Refresh(object sender, DayPilot.Web.Ui.Events.RefreshEventArgs e) See also: Date switching demo (F38) Real event lengthBy default, events are rendered in event boxes are aligned with the cell size. Example:
There is a new property UseEventBoxes (bool, default value is true) that allows rendering the events in real length. Note: Events shorter than a cell size will be rendered in a box in all cases. UseEventBoxes="true" UseEventBoxes="false" Note that "Event #1" is shorter than 30 minutes and is rendered in a box although boxes are turned off. See also: Real event length demo (F39) Safari compatibilityDayPilot Pro is compatible with Safari 2 (on MacOS X). Other improvements & bug fixes
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. |