|
|
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.5Released on 1 April, 2007.
Features(F06) Extended event handling (AJAX)In addition to the event handling option available in previous versions (JavaScript, PostBack) it is now possible to handle events using a AJAX server callback. That means that user action calls a server-side event and updates the view according to the changes. Handling callback is really easy. Here is how a typical PostBack event handler looks like: protected void DayPilotCalendar1_EventMove(object sender, DayPilot.Web.Ui.Events.EventMoveEventArgs e) And here is how a typical AJAX callback event handler looks like: protected void DayPilotCalendar1_EventMove(object sender, DayPilot.Web.Ui.Events.EventMoveEventArgs e) The difference is just a single line of code. Also note that:
Note that there is only one more line (calling Update()). This is an overview of the client events available:
For each of them you can set the handling:
(F07) Drag & drop event resizing (AJAX)Event resizing behavior:
Limitations:
Resizing in steps:
(F08) Drag & drop event moving (AJAX)Event moving behavior:
(F16) Scrollbar disablingHeightSpec options is be extended to allow showing just business hours but without the scrollbar. HeightSpec property defines how the height of the events area (below the column headers) is determined. Old HeightSpec options:
New option:
(F17) Menu events (AJAX)Menu items clicks can be handled in one of the following ways: For PostBack/CallBack action, it is necessary to define a Command that will be passed to the event handler. This is useful for manipulating events using the context menu (especially deleting): <daypilot:daypilotmenu id="DayPilotMenu1" runat="server"> This menu defines two actions for an event: CallBack delete and PostBack delete. The event handler can look like this: protected void DayPilotCalendar1_EventMenuClick(object sender, DayPilot.Web.Ui.Events.EventMenuClickEventArgs e)
(F18) Fixed space after eventsSince DayPilot Pro 3.0 the events were rendered with an additional space in each column to allow clicking on the underlying time slot. It was specified as 1% of the column width. That worked well for wide columns but if the column was too narrow (like in week view) the space was narrow as well. Since DayPilot Pro 3.5 the space is fixed (5 pixels). API changes
Browser compatibilityThis release fully supports Internet Explorer and Firefox, namely:
I will add support for Opera and Safari in one of the future releases. If it is a priority for you, please contact me at daypilot @ annpoint.com. 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. |