Questions Tagged
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) [..]
Scheduler context menu not working
Answered: It's now fixed in build 6.5.2333. See also: http://www.daypilot.org/daypilot-pro-6-6.html Thanks for reporting the bug!
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 sende...
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.
Creating reports with SQL and recurrent appointments?
Answered: The only option I can see is to try to create a .NET stored procedure and call the RecurrenceExpander from there. I haven't tried it, however.
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
Click and drag whole event?
Answered: This is controlled by the EventMoveMargin property. You can increase the value as needed. The default value is 5 (pixels).
How to remove demo icon from DayPilotMonth calender
Answered: Buy it or use the open source version.
How to freeze the first column of the scheduler with the rowheader ?
Answered: Unfortunately, this is not possible in the Lite version. In the Pro version, the content is displayed inside a div with a scrollbars. The total width is set using Width property and the scrollbar is ...
Resource-Bubble for java scheduler
Answered: Erik, The resource bubble is now implemented in DayPilot Pro for Java. Example: Default.jsp
dps.resourceBubble = new DayPilot.Bubble();
DpsServlet.java
@Override
public void onResourceBubble(R...
Non-resource resource parent
I'd like to make a feature request for daypilot for java. In my application Resources have parents, but a parent is not a bookable resource itself. For example: You are running a farm-holiday-resort....
MVC 3 - Tutorial
Answered: This is not a complete tutorial, just a hint on using DayPilot with Razor from MVC 3. A more complete tutorial can be found here: http://mvc.daypilot.org/monthly-calendar-and-sql-server-tutorial/ It'...
clientState not working in daypilot calendar
Answered: The clientState value is only synchronized during calls that are coming from the DayPilot control (either PostBack or CallBack). That means it's not available on the server side when you push a Butto...
How to hide the Message Bar on Scheduler Control without clicking the X
Answered: You can call dps.hideMessage() using JavaScript. The message will be more configurable in one of the future releases. It will be possible to customize the appearance and timeout, both globally and in...
Remove the DEMO on Scheduler
Answered: Please make sure that you have updated both DayPilot.Web.Mvc.dll and all the scripts from the DayPilot directory (e.g. calendar.js, scheduler.js, months.js) with the ones from the full package: Binar...
ContextMenu - confirmdelete
Answered: It should look like this:
dps.contextMenu = new DayPilot.Menu([
{ text:"Delete",
onclick: function() {
if(confirm('Are you sure?')){
dps.eventMenu...
Scheduler - When does the day end?
Answered: It's now fixed in build 1.0.187. See also: http://java.daypilot.org/daypilot-pro-for-java-1-2/ Thanks for reporting the bug!
Change FreeTime Tile Color when clicked
First of all, thanks for sharing and providing this wonderful control.. my problem is i don't know how to change the freetime tile/cell whenever it is clicked.. could someone tell me thanks in advanc...