Active Questions
Refresh Daypilot not working correctly
Answered: I believe removing AutoPostBack="true" will fix your problem. If you have both AutoPostBack="true" and OnCheckedChanged="CBAct_CheckedChanged" set the following happens on the checkbox change: 1. The...
Server side click won't fire
Hi, I'm trying to implement server side click for Lite version using this reference https://www.daypilot.org/server-side-event-handling/, but the click event won't fire. Also tried with Debug mode us...
Problems with Exporting as png file - Please help.
Answered: The problem should be fixed now in the latest sandbox build (8.1.3468): http://www.daypilot.org/sandbox/ The exception will not appear anymore. The behavior is as follows: 1. If the auto cell width m...
Monthly Calendar Monthname title with Navigator
Answered: The problem is that you are manually calling onTimeRangeSelected without any parameter. Take a look at the source of this page: http://javascript.daypilot.org/demo/month/navigator.html This is the be...
Background Color for a Particular Event.
Answered: You would be better off switching to the JavaScript version of DayPilot Lite. As this is a pure client-side solution (without the server bindings) it takes just one place to change the behavior. The ...
How to show Navigator in Horizontal Orientation
Hello, I am using Javascript to create Navigator. In this file I want to display 12 months Navigator in a page with 4 months in 3 rows. Can anyone please let me know how can I do it in lite version o...
How to modify source code to set event color in lite version
Answered: Guidance on how to modify the Lite source code to add specific features is beyond the scope of the support that we provide for the open-source version. If you want to save time inspecting and modifyi...
Navigator in Day Pilot Lite Version
Answered: Sorry - it is but it doesn't have any server-side part. The JavaScript source can be found in Demo/Scripts/DayPilot/src folder.
Gantt not rendering when deployed to IIS
Answered: There is no limitation built into the demo that would prevent deploying it on IIS. The rendered code (ASP.NET WebForms) should have three parts: 1. The empty div with id set to the ID of the control....
DayPilot Month Calendar
Answered: If you are using the DayPilot modal dialog: 1. You need to secure the "edit" page itself - this is required because DayPilot settings can be circumvented (they are client-side only). 2. Depending on ...
DayPilot Month Calendar
Answered: If the modal gets hidden by another part of the page (that uses position:relative or position:absolute) you can increase the z-index value using .zIndex property of the DayPilot.Modal object. See als...
Action on event click before mouse released
Answered: If the problem is that "nothing happens" i.e. the user gets no visual feedback you can use a different approach: Instead of definining moveDisabled:true on the event set a special custom property wit...
Event Filtering on Calendar
We have been using DayPilot for quite a while now and have been offering our clients the ability to filter events based on the location and other criteria for that event. That works great except when...
Cell background set in BeforeCellRender but not show for whole scheduler
Answered: Are you using the latest DayPilot version? Something like this can happen: 1) if the Scheduler height is detected incorrectly (this may happen if the parent element is hidden during the Scheduler ini...
Re-enabling selected event
Answered: You need to call dp.events.update() after modifying the event properties. Something like this should work:
dp.contextMenu = new DayPilot.Menu({items: [
{text: "Enable moving", onclick: function(...
Gantt Control, Tasks same row
Answered: The Gantt control is designed to display one task per row. 1. There is an option to display different task "versions" for the same row. However, they are read-only and they will stacked vertically in...
JavaScript Scheduler Control
Answered: No, at this moment it's only available in the ASP.NET WebForms version.
Undo Moving event and Undo Resizing event
Answered: Use .onEventMove event handler instead and call args.preventDefault() to prevent the default action and onEventMoved event from being processed:
dp.onEventMove = function(args) {
if (!confirm('A...