All Questions

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 ClientObjec...

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 JavaScript ob...

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...

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 public vo...

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...

ContextMenu Postback 6.5 SP1

Hi. I downloaded the new 6.5 SP1 version and noticed that my postbacks on contextmenues stopped working. Do I have to make som new settings to get it working or am I missing something. I am using web...

How to span an event within business hours.

Answered: This should be implemented as an extra layer of logic. You should keep the main event data in the database separate from the visible chunks (shifts) that will be passed to DayPilot and displayed. Eac...

Cell.HasAppointment

Answered: yes. protected override void OnBeforeEventRender(BeforeEventRenderArgs e) { if (Boolean.Parse(e.Tag["CheckedIn"]) == true) [..]

DayPilot Scheduler - Is this possible?

Answered: If the lessons were always inside a CellGroupBy unit (e.g. an hour), you could use smaller units for time cells (e.g. CellDuration=15) and hide some of them: http://www.daypilot.org/scheduler-hiding-...

OnBeforeEventRender

Answered: It's now fixed in build 5349. See also: https://mvc.daypilot.org/daypilot-pro-for-asp-net-mvc-1-2-sp1/

Scheduler setting up

Answered: I guess the problem is that the DataResourceField value doesn't match the Resource.Value. It must match exactly, i.e. the same case, no extra spaces, etc. See a general explanation for the Pro editio...

DayPilot Month - StaticBubbleHTML

Answered: It's already available. See this demo page, Event 12: http://www.daypilot.org/demo/Month/ A snippet from Demo/Month/Default.aspx.cs: protected void DayPilotMonth1_BeforeEventRender(object sender, Day...

Retrieve an Event (Possibly Recurrent) given Date

Answered: Hi again, I'm not sure if this is the correct way of doing it as it seems like quite a bit of coding to get at the answer! I've probably missed something very obvious along the way but at least this ...

Menu image

Answered: It's now implemented in build 6.5.2331. See also: http://www.daypilot.org/daypilot-pro-6-5-sp1.html Just specify the image url using MenuItem.Image property. The image position can be adjusted using ...

Calendar generates OutOfMemoryException

Answered: There was a bug in weekly recurrence code. It has been completely rewritten in 6.4 SP2. http://www.daypilot.org/daypilot-pro-6-4-sp2.html It seems that you are using build 6.4.2251 (6.4 SP1). Could y...

Empty scheduler throws IndexOutOfRangeException

Answered: This is a bug of the 6.5 release. It happens if the Resources collection is empty. It's fixed in the latest sandbox build. The fix will be included in the next release. See also: http://www.daypilot....

Hide unused resource headers

Answered: There is no way to do this at this moment. I will check if it will be possible to include it in one of the future releases. It seems that it could be relatively easy to implement.

How do i add an icon in the top left corner

Answered: The upper-left corner HTML can be set using BeforeResHeaderRender event: http://www.daypilot.org/scheduler-custom-resource-header-rendering.html