Questions Tagged
System.Data.SQLite.DLL is missing
Answered: This DLL is only required for some of the tutorials. http://www.daypilot.org/tutorials.html It's included in the Bin directory, not App_Data directory. You can also download it here: http://sqlite.ph...
Daypilot scheduler lite used in mvc3 razor project
Hi! I am working on a school project ( Hotel booking system ) it is a MVC3 razor project, and i am trying to implement daypilot scheduler into it. i managed to get the resources (rooms) loaded from t...
Scheduler control broken in IE8
Answered: The root of this problem is that the height of the parent control is too small. This can happen for number of reasons: Older browsers (e.g. IE7) don't support position:absolute, bottom:0px for stretc...
How to knows all the default css property name of DayPilot Calendar?
Answered: All the classes mentioned in the documentation should be working fine: alldayevent (all-day event box) event (event box) cellbackground (time cell) colheader (column header cell) alldayheader (all-da...
Multiple header to Columns
Answered: At this moment, the Scheduler (http://www.daypilot.org/scheduler.html) is only able to show two rows in the time header (X axis). The size of the cells in the first row can be set using CellGroupBy p...
JScript runtime error on postback when using an updatepanel
I am using an updatepanel around the DayPilot Scheduler. The scheduler performs a postback every minute to refresh the items on the schedule. If I am using the control i.e. scrolling, drilling throug...
Printed Text Quality with Numerous Events (Month)
Hi all, I was curious if anyone has suggestions for improving the printed quality of a month control that has a number of events. The user exports the calendar as a PNG and prints it to a single page...
Refresh data of navigator while calendar update
Answered: It is necessary to update the Navigator using a separate request called from DayPilotCalendar.AfterRenderJavaScript.
AfterRenderJavaScript="dpn.visibleRangeChangedCallBack();"
See also: http://kb...
Scheduler Week view - CellDuration: 10080 bug?
When using the DayPilot Scheduler in view mode Weekly (CellDuration: 10080, CellGroupBy = GroupByEnum.Week), I get a javascript error on the next line of code: this.drawTimeHeaderCell=function($p,$W)...
Resource Tree from Database
I could not find any code in the forums building a tree from the database using id, parentid. (So I had to think myself :-( Here is how I did it. private void loadResources() { SqlDataAdapter da = ne...
invalid argument exception when unlocking machine
Hi, I keep getting an invalid argument exception when unlocking my machine if I have the scheduler open. The error happens in the following function: - this.updateHeight=function(){ if(this.nav.scrol...
Grouping Rows
Answered: You should only add one row for this resource to the Resources collection: DayPilotScheduler2.Resources.Add("LJ10", "LJ10") You should be able to list the resources using an SQL query similar to this...
External Drag & Drop in Calendar in DayPilot for ASP.NET MVC
Answered: Yes, it's supported. Please make sure you are using at least build 1.2.5352. A live demo: http://mvc.daypilot.org/sandbox/Calendar/ExternalDragDrop And also for the Scheduler: http://mvc.daypilot.org...
Context menu hover css not working in IE8 quirks mode
Answered: Thanks for the update. The hover effect is defined using the following classes (see Demo/Themes/themes.css):
.menu_main a span
{
display: block;
height: 20px;
line-height: 20px;
width: 15...
Possible to move event labels on horizontal scroll in scheduler?
Answered: This is indeed quite difficult at this moment. But maybe the Bubble could help here, although I understand that it's not exactly what you were looking for. http://www.daypilot.org/bubble.html The Bub...
Day Pilot Calendar event selection on right click
Answered: You need to customize the EventRightClickJavaScript code to do both actions: EventRightClickJavaScript="select(e)"
function select(e) {
e.eventSelect(e);
menu.show(e);
}
Where menu is the ...
Date Columns widths off on Calendar - version 6.6.2346.1
The column headers appear to be a couple of pixels short, which misaligns the heading and creates a gray box on the right side of the headers.
Event Move
I've followed the tutorial and added an event handler and set event move handling like so: EventMoveHandling="CallBack" OnEventMove="DayPilotCalendar1_EventMove" but whenever I load the page with the...
Error: App_Web_4wv7e-qt reference
Answered: You can try to clear the ASP.NET temporary files folder: http://codebetter.com/brendantompkins/2006/11/15/fix-for-asp-net-could-not-load-file-or-assembly-app_web-error/ See also here: http://forums.a...
Events not rendering in Scheduler
Answered: Please check the following guide: http://kb.daypilot.org/101644/events-not-showing-up-in-the-scheduler/ The most important thing to check is that the resource id (Resource.Value) matches the resource...
Event relationship
Answered: Steve, This is a nice feature and I'd like to include it in one of the future releases. The visual representation seems to be a bit more difficult to implement and that's why it's still in the queue.
e.value result in error
Answered: The JavaScript handling is a bit different in the Lite version. You should replace the code with something like this:
EventClickJavaScript="alert({0});"
The Lite edition doesn't use any JavaScrip...
Drop down for 'name' in calendar
Question: Can the monthly/daily/weekly view be changed so that an entry on a calendar date reflects a drop down box instead of a free text box for 'name'? The data element in the EVENT database is ca...
Export of Calendar does not show date in heading
I am unable to get the date to display in the heading. During DayPilotCalendar1_BeforeHeaderRender, e.InnerHTML shows the date, but does not render when exported to PNG.
Scroll Bars not working Calendar Build 6.5.2332 from September 9, 2011
Answered: It seems that this behavior is caused by the newly introduced HideFreeCells property which was not accessible and was always set to true. HideFreeCells="true" hides non-business hours (outside of Bus...
How to Enable week-numbers in Scheduler?
Answered: The week number will be displayed in the first header row if you use
dps.cellGroupBy = 'Week';
You can always override the onBeforeTimeHeaderRender() to customize the header HTML:
@Override
...
In TimeHeader how to add a new row ( column ) that describes the month, between the weeks and days row.
Hello, I am interested if anyone did something like this before: I am currently using a CellGroupBy="Week", so in the Header I have Weeks + Month and Days coresponding to it, but I would like to have...
Calendar renders wrong Recurrent Events
Answered: As far as I can tell it behaves as specified. It might not be what you need, however. 1. It doesn't take the event end into account, i.e. it repeats the event based on its start, no matter when it ac...
Scheduler - HeightSpec.Parent100pct does not update layout when parent's height changes
Answered: You can use updateHeight() on the client side:
dps.updateHeight();
See also: * http://api.daypilot.org/daypilot-scheduler-updateheight/ This only works correctly in build 6.6.2339 an later (http:...