Active Questions
Shared / Public calendar folder
Answered: David Try adding the following to the end of your Read Only Service property: svc.ImpersonatedUserId = New ImpersonatedUserId(ConnectingIdType.SmtpAddress, "room@domain.com") Be aware that it will re...
'CalendarController.Dpm.OnInit(InitArgs)': no suitable method found to override
Answered: It looks like you are missing the following import:
using DayPilot.Web.Mvc.Events.Month;
You can also add the full namespace to the header:
protected override void OnInit(DayPilot.Web.Mvc.Event...
How to get Date from Navigator using JavaScript and copy to textbox
Answered: 1. You can get the current selection using the following properties: * nav.selectionDay - the exact day that was clicked * nav.selectionStart - start of the selection * nav.selectionEnd - end of the ...
MVC Popup Window - Stop closing when clicking out of window
Answered: With the latest version of DayPilot.Modal (2.6) you can use the following code:
modal.onClose = function(args) {
if (args.backgroundClick) {
args.preventDefault();
}
};
See also: http...
Schedule doesn't update when use navigation
Answered: Sorry I'm got it. must be change the "Scale = TimeScale.Manual" to "Scale = TimeScale.Day"
DataItem not available if ResourceCollection is filled manually
Answered: This change is now implemented in the latest DayPilot Pro for ASP.NET MVC build (8.3.5851). You can download it in the sandbox: http://mvc.daypilot.org/sandbox/ Any object passed using Resource.DataI...
How to swap the calendar btween days left and right
Answered: Unfortunately, using the swipe gesture to change the calendar view is not supported at the moment.
Get current cell in Context Menu
Answered: There is an internal JavaScript API that you can use (assuming ClientObjectName="dp"): Current mouse cursor position as date/time (DayPilot.Date object):
var date = dp.getDate(dp.coords.x, true);
...
Scheduler Half-Hour Border Color
Answered: The easiest way would probably be to insert custom separators at the specified time points: https://doc.daypilot.org/scheduler/separators/
Combining events with the same name
Due to the recordset I am dealing with, I always have records with the same event next to each other. I can't explain it very well, but I do have an image of what I have and what I am trying to achie...
Angular 2 Support
Answered: The first Angular 2 version of the Scheduler is now available: https://code.daypilot.org/67423/angular-2-scheduler-tutorial-typescript It's in an early stage. However, the following is working: DayPi...
Differences between Calendar and Scheduler + Why a person would choose between them?
Hi Dan and Team, Please would you explain the differences between a Calendar control and Scheduler control and why one person would choose between them? I've inherited some code which I am progressin...
Somebody please prevent this error
Answered: 1. If you want to use this event handler to customize the Navigator cells you need to add the method to the code behind:
protected void DayPilotNavigator1_OnBeforeCellRender(object sender, Befo...
When setting timezone to australia/sydney event in day calendar shows 30 mins late
i use moment js to arrange time my calendar config: $scope.calendarConfig = { startDate: moment().utcOffset(11).format('YYYY-MM-DD') } in my database there is different field for time and date so i u...
Event Text Color on Export
Answered: On the client side, you should be able to change the font color using args.fontColor:
dp.onBeforeEventRender = function(args) {
args.fontColor = "red";
};
See also: https://api.daypilot.org/d...
JavaScript Source from Pro Purchase
Answered: The JavaScript files in in the ASP.NET WebForms are not licensed for standalone usage - they can only be used within the DLL as embedded resources. If you prefer using the JavaScript version you can ...
Custom weekend days
Answered: The onBeforeCellRender applies the properties (business/non-business) to grid cells. The business status can be set for each cell separately and it's possible that cells in the same column will not h...
Row Filter
Answered: Since build 2535 you can call
dp.rows.filter("filter");
before .init() to apply the filter. You can get the latest build in the sandbox: http://javascript.daypilot.org/sandbox/ Let me know if it ...
how to use suport
Answered: You can ask your question here in the forum: https://forums.daypilot.org/question/new Or you can contact support directly: support@daypilot.org.
Android tap on event triggering time range selected in month Daypilot.Month view
IOS works fine however taping on an existing event in the Daypilot Month view using an android devices is also causing the onTimeRangeSelected to be fired shortly afterwards.