Questions Tagged lite
(IMP) Doesnot display exact time of the event in Calendar UI
Answered: By default, the calendar component aligns the events with the grid cells and displays a duration bar to indicate the real duration. In the Pro version, you can change this behavior as described here:...
Tutorial for Asp.Net Core
Answered: There is a tutorial that shows how to use the Pro version in an ASP.NET Core application: https://code.daypilot.org/31735/javascript-weekly-calendar-asp-net-core This project will work with the Lite ...
How to access BeforeEventRenderArgs in MVC
I do not see BeforeEventRenderArgs in the object browser, so can not use sample code in https://doc.daypilot.org/calendar/event-customization/ I have the following using statement "using DayPilot.Web...
e.commit() is not implemented
Answered: Never mind! It's my own problem - I passed wrong argument to events.update().
How to change date calendar (nav) and scheduler (dp) according to data from database
Answered: I assume that you have followed the calendar tutorial (https://code.daypilot.org/17910/html5-event-calendar-open-source) and have the navigator and calendar linked like this:
nav.onTimeRangeSelec...
Null Exception on DataItem when setting StartDate
Answered: Hi Scott, The e.DataItem property is only initialized if you call DataBind(). Calling DataBind() is not necessary during callbacks/postbacks because the events are reloaded from the ViewState. Howeve...
How to use password for event creation ,resizing and moving
Answered: The preventDefault() method needs to be called in the main context (before the onEventResize handler exits). You are calling it in the callback method which is called later and it has no effect. The ...
How-To add some color to Calendar....
FYI- The Text for the Calendar control takes HTML... So, if you want some color to differentiate you can do something like... SELECT tblStudyTasks.study_task_id, task_start, task_end, CASE WHEN COUNT...
How do I deploy daypilot light to my server?
Answered: Never mind. Just copied the dll to the bin folder for the website and voila it works.
Logical overnight scheduling
Answered: Hi Paul, This feature is not intended as a workaround for displaying long events. It's designed for views where the day boundaries are shifted - e.g. tv listings. The calendar will display events spa...
Keyboard Control for DayPilot/W3C Accessibility Standards
Are there any current plans for making the daypilot calendar interface keyboard accessible to W3C standards?
Can you view more than one month/week with DaypilotLite?
Answered: Unfortunately it's not supported in the Lite version.
How do I make my DayPilot Month Calendar to be Read Only in Asp.Net MVC?
Answered: You can make it read-only by disabling the drag and drop actions one by one:
@Html.DayPilotMonth("dpm", new DayPilotMonthConfig
{
BackendUrl = Url.Content("~/Home/Backend"),
EventMoveHandlin...
Edit Event does not fire in Chrome unless DevTools is started
Answered: Fortunately, I found a workaround by using these JS events: dpc.onEventMove = function (e, newStart, newEnd) { eventChange(e, newStart, newEnd); }; dpc.onEventResize = function (e, newStart, newEnd) ...
Extra Fields Add
Answered: The modal dialog can show any HTML page using showUrl() method. You can create a standard page with the required fields and display it using showUrl(). You can pass the form data back to the calendar...
DayPilot Responsive
Nice, easy to use package. I saw earlier question about making DayPilot responsive. I poked around in the code and found two lines where percentages are added as comments. I used the percentages inst...
BeforeEventRender EventClickEnabled Not Working
So when form loads and calls beforeeventrender, I have it set for all pre-created events to have the e.eventclickenabled = false (by looking at e.id and make sure its all old ids versus new ids). Whi...
Is bolding of navigation calendar dates available in Lite version?
Answered: Unfortunately, loading free/busy Navigator data is not supported in the Lite version at the moment.
Disable cells previous to the current datetime
Answered: Unfortunately, DayPilot Lite doesn't support disabled cells. However, you can check the dates in onEventMove, onEventResize, and onTimeRangeSelect events handlers and call args.preventDefault() to ca...
Print Scheduler With Header On Every Page
Answered: With the direct print() method you only have limited control over the result (the browser will simply print the exported image). I recommend exporting the Scheduler to PDF, this way you can specify h...
Select multiple events from code
Answered: Unfortunately, the Lite edition doesn't support event selecting. In the Pro version, you can select the events using SelectedEvents list (in the Scheduler). It's a list of simplified EventInfo object...
DayPilotScheduler - hide non business hours
Answered: Unfortunately, this feature is only available in the Pro version. See also the feature comparison: https://aspnet.daypilot.org/feature-matrix/
All appointments shifted by 30 minutes
Hi, Somehow, all my appointments (and business starting hours) are shifted by 30 minutes (see attachment). What am I doing wrong/how can I fix it? Using: DayPilot Calendar, Version: 2018.1.228-lite I...
Calendar stops working
Answered: Do you see any error in the JavaScript console? Does the whole page freeze (do other element on the page work) or is it just that the Calendar doesn't respond to mouse actions? I know that it might b...
Event Creation
Answered: The latest version of DayPilot Lite exposes "start" and "end" variables (DayPilot.Date object). The string replacements ("{0}") are no longer applicable. You can use the following TimeRangeSelectedJa...
Daypilot - change start day of the week
Answered: The first day of week is determined by the Calendar locale. The default locale is "en-us" which uses Sunday as the first day of week. You can switch to one of the predefined locales (https://api.dayp...
Free to use
Answered: Yes, DayPilot Lite is available under Apache License 2.0 - it's free and open-source. See also: https://aspnet.daypilot.org/open-source/
how to set tool tip for daypilot-calender
Answered: The event tooltip is enabled by default (ShowToolTip property is set to true). The default tooltip uses the event text (loaded from the field specified using DataTextField). You can also customize it...
How to change font and localization of day of week at header of Daypilot lite Calendar?
Hi, I want to change font and localization of day of week at header of Daypilot lite Calendar. First, I tried to increase font size at header by changing DayFontSize at the DISPLAY section of the Day...