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, April 25, 2006

Bugfix for events overlapping

I've just fixed a bug that caused event overlapping under certain circumstances. The fix will be included in the next release. By that time you can load the data from the database sorted by the starting time asc, ending time asc and it will be working fine.

The other possibility is to add this line to the source code (Web/Ui/DayPilotCalendar.cs, after "DataTable dt = (DataTable) dataSource;" on line 825) and recompile:

dt.DefaultView.Sort = beginColumnName + " asc, " + endColumnName + " desc";

Comments:

iwant a option by which the users cannot book a event for a similar time period

it should give an error for overlapping of events

hemant sharma
india
This must be handled by your application in the event adding code. I.e. you have to check when the users tries to create an event during a time that is not free.

DayPilot is just showing what you supply.
Blog comments are closed. Please use forums.daypilot.org to discuss DayPilot.


 

Previous

Archives