Active Questions
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...
How To Lock The Header Line When Scrolling Down
Answered: Please take a look at the HeightSpec property options: http://doc.daypilot.org/scheduler/height/
New row is creating automatically
If I am creating a new appointment, then the day daypilot scheduler is creating a new row automatically as shown in the attached image. But it is not occuring in every time. Is it a bug? How to fix i...
Does recurring events support "every third monday of the month"?
Answered: Unfortunately, this rule is not supported using the built-in recurrence mechanism at this moment.
How to set color of milestone and group bar in gantt
Answered: Shapes of these elements are created using CSS so you can't control the color using a simple property in BeforeTaskRender - they can only be modified using CSS. You can use BeforeTaskRender to add a ...
0x800a1391 - JavaScript runtime error: 'DayPilot' is undefined
Answered: The tutorial text was missing the client-side script reference:
<script src="@Url.Content("~/Scripts/DayPilot/daypilot-all.min.js")" type="text/javascript"></script>
In the sample project (http:/...
Display Popup with custom text in "header" of DayPilot Control
Answered: You can assign just one default bubble for each of the object types (BubbleEvent, BubbleCell, BubbleResource). You can also invoke the bubble manually using JavaScript like this: DayPilotBubble contr...
Gantt: Property task.DataItem null after RowSelect
Answered: The DataItem works only when you call .DataBind() on the Gantt control during a request. This reloads the tasks from the data source and saves the source object as e.DataItem. If you don't call DataB...
TimeHeader fontSize
Answered: Since build 8.1.3485 you can apply custom CSS class to individual time header cells (e.g. depending on the time header level) using BeforeTimeHeaderRender event. You can download the latest build in ...
Context menu and icon
Answered: Yes, you can specify the icon using "Image" attribute of <MenuItem> tag:
<daypilot:daypilotmenu id="DayPilotMenu1" runat="server" CssClassPrefix="menu_default" ShowMenuTitle="true">
<DayPilot:Me...
My webpage gets laggy after a few hours when using Daypilot(trial) scheduler
Answered: Most likely it is an increasing memory consumption that is slowing the page down. A few hints: 1. Make sure that you have DayPilot Pro version 8.1.1969 or later (http://javascript.daypilot.org/daypil...