Active Questions
Can I make Joint Events move together but not resize together?
Answered: Since build 2057 you can configure the behavior using the following properties:
dp.jointEventsResize = false;
dp.jointEventsMove = false;
You can test and download build 2057 in the sandbox: htt...
CheckboxList inside UpdatePanel and DP 8.1 SP1 or higher
Answered: Hi Dan, yup, disabling the client init event fixed the checkbox list! When will the next service pack be released so I can use the newest build? The sandbox is only available as trial right? Thanks o...
Calling Javascript Functions from Code File(.aspx.cs)
Answered: If you want to execute custom JavaScript after the server-side CallBack you can use AfterRenderJavaScript. This property specifies the JavaScript that will be executed after every update (i.e. during...
Display Year with Next To Month
Answered: Unfortunately the Lite version only supports the "MMMM d" format.
Popup don't go away after Create
Answered: You can find a working example of the "new event" modal dialog in the following tutorial: http://code.daypilot.org/59860/asp-net-mvc-5-event-calendar The calendar is configured to display the modal d...
Problem clearing events in Angular
Answered: A few notes: 1. When performing the operations on the events you can either modify the model or use the direct methods. The difference is that the direct methods call $apply to notify Angular about t...
Custom timeHeaders
Answered: Do you use the latest DayPilot version? The start/end properties for time header active areas are available since version 8.1 (build 8.1.1757). If I add your code to demo/scheduler/index.html it seem...
Increase Cell Width based on number of Events
Answered: Unfortunately this scenario is not supported. You can define a custom timeline (http://doc.daypilot.org/scheduler/timeline/) and set the column width as needed but the events will always be displayed...
Response.Redirect in Context Menu in .NET 4.5
Answered: There are two options: 1. Use JavaScript to redirect it on the client side:
<DayPilot:MenuItem Text="Open" Action="JavaScript" JavaScript="document.location.href='Detail.aspx?id=' + e.id()" ></DayP...
Event Move / Resize Refresh Slow
Answered: You can switch to "Notify" event handling to make it faster. If you use EventResizeHandling = CallBack the sequence is as follows: 1. The user finishes resizing. 2. The calendar/scheduler sends a req...
Null Reference Exception on scheduler CallBack
Answered: Which version of DayPilot do you use? One of the recent sandbox builds had a bug which had symptoms like this. It is fixed in the latest release (8.1.5819): http://mvc.daypilot.org/demo/Scheduler/ Le...
Modal Box on Event Resize
Answered: You can do it like this:
<DayPilot:DayPilotScheduler
...
ClientObjectName="dp"
EventResizeHandling="JavaScript"
EventResizeJavaScript="new DayPilot.Modal({onClosed:function(args){ if (a...
Backend ActionResult 'Events' not running?
Answered: If you open developer tools in Chrome (Ctrl-Shift-I) and reload the page you will see all AJAX requests in the Network tab. You should be able to check: 1. If the request has been made 2. What is the...
Example of storing recurring events as separate records.. please
Answered: Recurrence can get very, very complex. Don't expect any easy solution here. Just a lot of work. You can follow these steps: 1. store the original event with the rule in a special DB field 2. generate...
Recurring events ..
Answered: Dave, You can store the recurring events as separate records, no problem. In fact, this is the only solution that scales. The built-in recurrence support lets you start with recurring event relativel...
DaypilotMonth event color change
Answered: You can set custom event background color using BeforeEventRender event handler: http://doc.daypilot.org/month/event-customization/
Create event in Scheduler (javascript)
Answered: Take a look at this tutorial: http://code.daypilot.org/72248/html5-scheduler-and-modal-dialog-jquery It shows how to use the modal dialog to add events to the Scheduler.
Differences between same data in IE8 and IE11/Firefox Nightly ?
Answered: I know that it's not what you want to hear but Microsoft stopped supporting IE 8 in January and so did we. I don't recall any similar problem but you can try using the latest DayPilot Pro version (8....
How do I delete the event from the database?
Answered: You need to call the server using an AJAX call, like this:
<div id="dp"></div>
<script type="text/javascript">
var dp = new DayPilot.Calendar("dp");
dp.eventDeleteHandling = "Update";
d...
Cannot implicitly convert type 'string' to 'DayPilot.Web.Mvc.Events.Gantt.RowClickHandlingType'
Answered: There is now a new guide on row selecting available in the documentation: http://doc.daypilot.org/gantt/row-selecting/ The latest sandbox build (8.1.5816) fixes a few related issues (such as the miss...