DayPilot - Open-Source Outlook-Like Calendar for ASP.NET
Try the online demo: AJAX-style event creating, moving, resizing, and deleting • Context menu • Day view • Work week view • Week view • PostBack/AJAX/JavaScript event handling • Binding to XmlDataSource, SqlDataSource, DataTable, ArrayList • Custom event formatting • Custom business hours

DayPilot News Blog

Tuesday, October 17, 2006

DayPilot 2.1 SP2 released

DayPilot 2.1 SP2 (open-source Outlook-like calendar for ASP.NET) was just released.

This is a bug fixing release. It fixes a bug introduced by SP1 ;-) - the left column on the left side of an event was not displayed properly.

In addition there are two small bonus features:
  • AM/PM text for 24 hour time format is aligned to the top (closer to Outlook layout).
  • Default EventBorderColor changed to black (closer to Outlook colors).

Read what is new in 2.1 SP2 and download it.

The tutorial was updated to be corresponding to 2.1 changes. Especially these sections:
See also

Comments:

I really like the control and I am currently basing a larger project on it. It is lacking a few things though; selection of timespan (I modified the 2.1 code for this, but have not done so with the 2.1sp2 as I am not using it yet) and also, placing the hours and main area inside a div with overflow:auto and a fixed height. This would allow only the content to scroll in case of large calendars (I need to be able to display 24h).
Sean Kinsey (nospam[at]kinsey[dot]no)
Do you the better way I can print daypilot calendar in landscape? I'd like to print it in just one page.
1. Selection of timespan is under investigation.

2. Overflow:auto seems to be difficult (it works in FF, but not in IE)

3. I'll do a test with printing.
Great Control, thanks for the SP2 build and fixes

problem im having:

when I enable server side events I cannot compile anymore, it works fine when client side javascript only is enabled.
I did add reference to project and I did import namespace
Imports DayPilot.Web.Ui as well as IMports Daypilot.Web - still no help
this is in VS2005 with WebApplication project model, any tips how to fix this ?
thanks in advance

Compiler Error Message: BC30456: 'Web' is not a member of 'DayPilot.Web.Ui.DayPilotCalendar'.

Source Error:


DayPilot:DayPilotCalendar ID="daypilot" runat="server" EventClickHandling="PostBack"
nevermins, figured it out myself, namspace collision

DO NOT name the control id = daypilot call it anything else and it works fine =)
2 Optional Databound Fields Added

this control turned out really nice and fit in really well with a project Im working on. In order to accomodate my requirements I did need to make some modifications to the source. I have added 2 optional DataBound fields,
..dataEventBarColourField;
..dataImageFileNameField;

with the first one you can set the left bar to any colour, via databound column, I needed it for displaying the severity/urgency of tasks

with the second one the calender gets really spiced up and looks great if you insert related images into the field, you can databind to an imagefilename (Im injecting a simple html img src=... at the correct spot.)

I have followed Dans extremely well structured source and have included the same designer support as well, maybe I can get this source to Dan so he can incorporate this into the next build (and take out any bugs I may have made, cause I did this within 1 hours, and Im more comfortable on VB.net then on C#)
Overall great job Dan, well Done!
Im not sure about the sourceforge stuff and hope I was permitted to change the source
the 'spiced' up version screenshot is at
http://img124.imageshack.us/img124/3885/samplecalenderviewrx5.jpg

if anyone wonders what it looks like
I was just wondering:

Is it possible to add multiple columns from a view to the DataTextField property (for example: 3 in my case)?
The columns are named: VNaam, ANaam and PNaam.
How do i get all three of them to show in the DataTextField field?
to Bastiaan> yes it is possible, and quite easy, dont bind the single field to the DataTextField propery right away, there is a couple of ways to do this,
- adjust your sql select or stored procedure to return a composite field and bind tha composite field, if the processing can be done on the database server
- if there is too complex /or other data dependend processing required return the datatable via code/class and add a new datacolumns to the datatable and fill the column with composite data, and finally bind that new column to the calendar,
if you dont know how to do the above read up on some books/sites about datatable and adding columns manually, its quite simple, Dan's databinding tutorial shows how to add columns & rows manually as well, you can use that technique
Blog comments are closed. Please use forums.daypilot.org to discuss DayPilot.


 

Previous

Archives