DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » Bugs » Events automatically created from 12:00 AM -12:00PM

Events automatically created from 12:00 AM -12:00PM

The Calendar control sometime automatically creates Events than span the whole day from 12:00 am to 12:00 pm

http://www.daypilot.org/sandbox/Calendar/
You can also navigate to the above online demo, on the Calendar control if you navigate to "All AJAX features", from
day Feb 24 to Feb 28, 2008 those seems to be also un-needed all day events created because of the bug.
Jim - 2/14/2008 4:31:52 AM
This is not a bug. This event ("Event 11") is generated in Demo/App_Code/DataGenerator.cs:

dr = dt.NewRow();
dr["id"] = 11;
dr["start"] = Convert.ToDateTime("00:00").AddDays(8);
dr["end"] = Convert.ToDateTime("00:00").AddDays(15);
dr["name"] = "Event 11";
dr["column"] = "D";
dt.Rows.Add(dr);

It's an event that takes 7 days and by default it's rendered as 7 pieces (event parts), one in each day. It can be also moved to the all-day area by adding:

dr["allday"] = true;
Dan Letecky - 2/18/2008 11:38:18 AM
Post reply