Active Questions
DayPilotMonth TimeRangeSelectedJavaScript: e is not defined
There seems to be a bug in DayPilotMonth TimeRangeSelectedJavaScript as if I try to use "e" in the javascript (e.g. console.log(e)) browser throws Uncaught ReferenceError: e is not defined. Any other...
Duration Bar - Scheduler 7.6
Answered: Never mind. Just a .css difference between old and new. Set colour of duration bar in the style sheet, and removed "e.DurationBarColor = "#7cc144";" and it is now working properly.
EventClick, EventRightClick and all other mouse action handlers do not pass the event object (window.event in IE) to the javascript handler
Answered: I understand. Let me check how to do this.
Recurrence Issue
I have an event in a database that needs to be set as recurring on the calendar. Currently I have a field called 'recurr' in the sql query for the data that is set to 1 for this event. How can I tell...
scheduler - can i add more columsn on the resource side of the grid
Hi In the scheduler control can I add more columns on the resource side of the grid. Gary Goodwin
Only show weeks
We're trying to implement the DayScheduler in our booking system. In the system, we only allow friday-friday bookings. Is it possible only to show cells for weeknumbers, or when one pick a date in a ...
Scheduler Event Move with ctrl key : NullReferenceException
Answered: You need to change EventMoveHandling="CallBack" to EventMoveHandling="JavaScript". It's now added to the documentation: http://doc.daypilot.org/scheduler/event-copying/
how to buy full version only for calender control
how to buy full version only for calender control . what is the exact cost
onTimeRangeSelected(args) not passing values
Answered: The client-side event-handling API has two modes that can be switched using .api property: http://api.daypilot.org/daypilot-scheduler-api/ All DayPilot versions that include an integrated server-side...
Show Business Hours on Saturday using Javascript
Answered: Hi Patrick, In JavaScript you should use onIncludeCell event instead: http://doc.daypilot.org/scheduler/hiding-time-columns/ Example:
<div id="dp"></div>
<script type="text/javascript">
var dp ...
Change color onclick through callback
Answered: You would have to store the value in the database or somewhere else in the WebForms, request a reload using Update() and set the new color in BeforeEventRender event handler. However, you can do it d...
DayPilot Month - RTL direction (Sunday start from right to left)
Answered: Unfortunately RTL direction is only implemented for the Calendar control at the moment: http://doc.daypilot.org/calendar/rtl/
Permissions on Scheduler
Answered: The best way to do this is to set EventMoveHandling and EventResizeHandling valu depending on the permission check. The default value is "Disabled" which will work for read-only scenarios. If the use...
How to send custom data to backend
Answered: Hi Isaac, You should be able to pass custom data to the server using .clientState property: http://doc.daypilot.org/calendar/clientstate/ ClientState is persisted until the page is refreshed and it i...
Theame
Answered: Yes. You can change the theme using CssClassPrefix property. Remember that you need to use CssOnly="true". See also: http://doc.daypilot.org/calendar/css-themes/
Resource Header Click - JavaScript
Answered: The resource header details are accessible using "resource" variable: DayPilot Scheduler tag:
ResourceHeaderClickJavaScript="test(resource);"
JavaScript:
<script language="text/javascript">
f...
Schedule Resources based on table
Answered: Yes, you can access Resources collection in the code behind. See a hint here (it's the doc for the Pro version but the mechanism is the same): http://doc.daypilot.org/scheduler/resource-loading/
Custom content in scheduler event DayPilotBubble
Answered: There are two options: 1. You can define the bubble HTML in BeforeEventRender event handler. This will store the bubble HTML with the event (it will be static). No server-side call will be required w...