Questions Tagged
Event selecting programatically in DayPilotMonth
Answered: Since 7.1 SP4 it's possible to create an instance of this class by calling: EventInfo.Create(id) for regular events EventInto.CreateRecurring(masterId, start) for recurring events This will create an...
Different event colors in DayPilot Month
Answered: This is not hard at all. Here is a code snippet which I use for my offices which turn different events into different colors (based on the first two letters). Event: "FG - Out of Office" protected vo...
side-by-side events
I am using daypilot month in order to set events. On a daily basis we have two events that need to be side by side (i.e. two events which are half as long as normal events side-by-side as opposed to ...
Scheduler Demo 7.1.2734 Event issue when run locally
Hi, I downloaded the Trial solution and noticed that when running the TimeHeaders form the events are shown on the wrong days when it is run locally (the form hosted by DayPilot is fine). For example...
Month / Scheduler Control hangs IE9
DayPilot 7.1.2730 I have a page which displays a scheduler or month control within a jQuery UI tab page. I am using script to ensure that the tab control fills the available space, and I want the con...
Forum Responses
Hi All Is anyone processing the questions posted on the forums? I posted a question on 26/11 but have had no response, looks like same situation for other unanswered questions. I'm evaluating the pro...
Get start date from Navigator
Hi, I want to get the date selected from the Navigator and pass it in my Page_Load method. Does anyone know how to do this? Thanks
Prevent event overlapping
Hello, I have seen two questions regarding this on the forum and the feature was supposed to be build in in 2011. Any news on that? How can I prevent my event from overlapping during TimeRangeSelecti...
Internet Explorer 6 daypilot scheduler compatibility
Hello, We are planning a new project for a company that still uses Internet Explorer 6 as main browser :( We tested you control and fits our requirements but we have a problem with daypilot 7 and new...
Events rendering very slowly on DP Calendar
Answered: Hi Dan, I think I found a possible reason why the calendar was so slow to load. I had a OnBeforeEventRender method to apply a color code each event, and that is why the rendering time was so long. No...
CSSClass problem in BeforeEventRender Method with Daypilot Calendar
Answered: The class is added to the element if CssOnly="False" is set on the DayPilot:DayPilotCalendar but not of CssOnly="True" I've figured this workaround: modify the InnerHtml to add a marker div then add ...
EventManager not found
Answered: OK I found it, you have to create this class on your own according to http://code.daypilot.org/62492/scheduler-for-asp-net-mvc-4-razor
MVC 4 Scheduler : Days & Row Heights
From the code below is t possible to identify why the row lines do not match when the scheduler is rendered. The size of the event row is not matching the size of the row header. Also, the scheduler ...
Calendar not updating
Answered: I found the problem myself, for future references - you have to update your .Columns to reflect the new date as well.
Bug in Calendar withTimeHeaderCellDuration?
Answered: The TimeHeaderCellDuration only accepts values that divide 60 without a remainder. There is a check missing, 40 should not be allowed. If you want to show custom time slots I recommend using the mapp...
Crosshairs prevent EventSelectJavaScript and TimeRangeSelectedJavaScript from firing in IOS6
Answered: Since 7.3 release DayPilot should be compatible with iOS 6. See also the release notes for supported actions (EventClick is supported): http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-3.h...
Calendar not changing with Navigator selection MVC4/Razor
I am using the 7.1.5463.1 version of DayPilot.Web.Mvc.dll I am using the scripts from 11/20/2012 I have created a sample application to demonstrate the behavior, but it is too big to upload. When sel...
DayPilotNavigator
Answered: The horizontal mode is supported since 7.3 release: ASP.NET WebForms http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-3.html ASP.NET MVC http://mvc.daypilot.org/daypilot-pro-for-asp-net-mv...
Tree Resources - "htmlfile" invalid argument
Hello, As soon as I try to put my resources in a tree, I get a 'htmlfile': invalid argument error for each of my resources. At this exact line: if($m.Columns==null||$m.Columns.length==0){c.colSpan=$0...
Time portion of datetime displays in Event header as PM when it is actually AM
Answered: Please see here: http://forums.daypilot.org/Topic.aspx/1737/am-pm-incorrect-on-event-header-with-clock12hours-setting The fix will be included in the next release. You can fix it in Calendar.js by mo...
Javascript alert "Undefined" when clicking on the Time Range Header in DayPilot Calendar
Answered: It's caused by an extra line of code that was added for debugging purposes. You can comment out line 3917 in Calendar.js and recompile. A service pack with a fix will be released soon.
DayPilotCalendar HeaderHeightAutoFit not working sometimes inTabContainer is an ASP.NET AJAX Control
Answered: This doesn't work on controls that are hidden when the init code is executed. You can run the auto-fit manually by calling autoHeaderHeight() method (hook the tab switching event). The same applies t...
Add title header to Month
Answered: There is no built-in header but you can add your own: http://kb.daypilot.org/92633/how-to-show-the-selected-date-using-a-label-control/
Value cannot be null. Parameter name: collection
Answered: Dave, what's the version of DayPilot you are using? If you are not using DayPilot Lite for MVC 1.2 already I recommend switching to to because it's compiled with MVC4. http://mvc.daypilot.org/daypilo...
DayPilot Pro WeekView Bug inside update panel
Answered: There is now a new version available that improves the interoperability with UpdatePanel: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-1-sp3.html Please let me know if the problem pers...
Horizontal Scroll
Hi, We have a requirement where the Calendar control is used to display one week at a time. We want to be able to have 7 days available on the screen when loaded but only Monday to Friday to be visib...
Scheduler - EventResize issue (IE9)
Answered: I found what was causing this. The page had a Telerik control which was somehow causing this to happen. Removing all Telerik controls resolved the issue.
Decoding and finding RecurrenceException.EncodeExceptionDeleted in recurrence field using SQL query.
I am trying to find out if the recurrence field of a record is RecurrenceException.EncodeExceptionDeleted using SQL query. I look at the website but there is no mention of how to decode the string of...
Catch cell in doubleClick
Hi, I'm trying to block events clientside (doubleclick, to add an event) During the dps_BeforeCellRender, I place the cells to isBusiness (+ change CSS) Then i catch the event using the javascript fu...
conflict detection still has some problems. Bug?
Answered: It's fixed now in build 7.1.2728: http://www.daypilot.org/sandbox/ See also: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-2.html The main algorithm requires a sorted list which was not...