Questions Tagged
AfterRenderJavaScript missing in MVC
Answered: It's now available in the latest sandbox build (7.5.5595): http://mvc.daypilot.org/sandbox/ It will be included in the next release.
Bubble for scheduler only works when hovering edges of event
Can also be seen here: http://java.daypilot.org/demo/Scheduler/ Only pops up when cursor turns into a resize-cursor.
JS Error - Could not get the position property. Invalid argument.
Answered: This should be fixed now in the latest sandbox build (7.5.2968): http://www.daypilot.org/sandbox/
Tutorials
Answered: The tutorials which include DayPilot Lite are licensed under Apache Software License 2.0 and can be used for free. The tutorials which include DayPilot Pro are licensed for evaluation purposes only. ...
Some handler or method to run after cell rendering on scroll
Answered: There is a new cell-accessing API in the works which you can use. It is available in the latest MVC sandbox build (7.5.5597): http://mvc.daypilot.org/sandbox/Scheduler/ You can use the following API:...
Real background color length
Answered: If you want to display background objects that do not match the cell dimension it might be better to use a special kind of events for that. You can apply custom CSS in BeforeEventRender to make them ...
In Internet Explorer, the vertically adjacent events don't have the horizontal separation line
I am assigning custom css classes to the daypilot events based on some custom condition in the OnBeforeEventRender method. The result looks good in Chrome, but in IE, sometimes if there are two verti...
Scheduler onload only renders half the area
Answered: This bug should be fixed now in build 7.5.8329. See the sandbox: http://java.daypilot.org/sandbox/
Row Header Auto Width
Answered: There is a bug indeed. It works like this: 1. rowHeaderHeight sets the minimal width to be used. 2. rowHeaderWidthAutoFit checks the content and if it doesn't fit there the width is increased. It sho...
Add CssClass in AlldayEvent is not working
in css mode, adding cssclass in normal event is working, however in Allday event is not.
How to manually resize the scheduler (and calendar) vertically on initial page load
Answered: There are two options: Use HeightSpec="Parent100Pct" and let the scheduler adjust its height according to the parent element automatically (see http://doc.daypilot.org/scheduler/100-pct-height/). It ...
Fixed-width events
Is it possible to display a day-view with fixed width events - i.e. that don't resize to the whole day width?
how to customize navigator's date format?
Hello, now dateformat of date in navigator is like "September 2013". i want to change this to "yyyy-MM(2013-09)". it seems i can do with DayPilot.Locale, but i don't know how to. thank you
Event Color customizing issue
Hi, i set CssClassPrefix="calendar_blue" and CssOnly="true" and im trying event color looks difference when they have each other class name. so what i did is... i made some classes,(name is color01~2...
Disable User Adding Events to a Row
Hello, I am trying to stop users adding new events to certain rows in the Daypilot Scheduler. Is there a way to disable adding events to certain rows or Resources? Thanks
How to input x button in event when i use CssClassPrefix?
Answered: The delete icon is not supported in the CssOnly mode. It is replaced by more universal system of "active areas". You can add the delete button using BeforeEventRender:
protected void DayPilotCalend...
JavaScript error when right-clicking on a cell in the scheduler control when there are no context menu items defined
I am using the DayPilotMenu control and the DayPilotScheduler in tandem in an ASP.NET MVC application. The DayPilotMenu control displays a context menu when the user clicks in one of the cells of the...
Callback Error
Hi, After a period of inactivity on the scheduler calendar users are getting a error popup when they try and access anything on the scheduler. The error states; 'There was an error in the callback.' ...
Export/Print custom headers
Answered: This bug is fixed now in the 7.5 release: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-5.html
Adjusting the event starting position in the scheduler
Answered: You can configure this behavior using UseEventBoxes property. UseEventBoxes = UseEventBoxesType.Never will do exactly what you need.
Is there a way to await an event (commandCallBack)?
Answered: You can use AfterRender client-side handler (AfterRenderJavaScript property in MVC DayPilotSchedulerConfig). This script will get called after every update (including the initial rendering). You can ...
empty Json
I followed this tut to make navigation in calendar using scheduler code.daypilot.org/33944/event-calendar-day-week-month-for-asp-net-mvc I have done all exactly the same when I click on calendar on O...
EventClickHandling="PostBack" how to get value in c#
Answered: protected void DayPilotCalendar1_EventClick(object sender, DayPilot.Web.Ui.Events.EventClickEventArgs e) { txtValue.Text = e.Value; }
Dynamic cellduration/cellwidth/time header
Answered: This is not yet possible. It sounds good, let me do a few tests.
Themes not working correctly?
Answered: looks like it was just confusion on my part as to how the cssOnly attribute worked. if I manually set the background with beforecellrender as seen at http://forums.daypilot.org/Topic.aspx/1724/howto-...
How to import to excel or word dapilot schedular or send it in mail.
Answered: You should export the scheduler as PNG and embed the image in the document/email as needed: http://www.daypilot.org/scheduler-image-export-bmp-png-gif-jpg.html
Time format in the time header resets to 24hour after update() call
I'm using the mvc scheduler, and displaying only single day. For the time header display, I'm doing the following to get the 12 hours format (AM/PM), and also setting TimeFormat = TimeFormat.Clock12H...
How to get parent resource id
Hi, I'm using daypilot scheduier. Dynamically i'm creating the resource tree . My code is like below Resource res = new Resource(StoreName, StoreID); DayPilotScheduler1.Resources.Add(res); res.Childr...
Add a textbox on each row of Scheduler
Answered: You can add the textbox by setting custom InnerHTML to something like "<input type='text' id='myid' />'. You can access it through Resources collection or using BeforeResHeaderRender event (e.Columns...
EventMoveHandling=javascript?
Answered: Kevin, You can try this:
EventMoveJavaScript="eventMove(e.start(), newEnd)"
In this event handler the following variables are available: * e - DayPilot.Event object * newStart - DayPilot.Date obj...