Questions Tagged lite
Cannot find daypilot-all.min.js
Answered: It looks like you have the ASP.NET WebForms version (http://www.daypilot.org/). To use DayPilot with AngularJS you need the JavaScript version (http://javascript.daypilot.org/). If you have purchased...
Incompatible DayPilot client script version. Expected 1478 (you are using 176-lite).
Answered: You are using incompatible versions of daypilot-all.min.js and DayPilot.Mvc.dll. In this case, the dll is from the Pro version and the .js is from the Lite version. You need to use both from the same...
How to add event in Calendar control
Answered: Please take a look at the following tutorial: http://code.daypilot.org/59860/asp-net-mvc-5-event-calendar It shows how to use the Calendar control in MVC. It uses the Pro version but the same approac...
multiple rows per resource
Answered: The Scheduler (with resources displayed as rows) is only available in the Pro version. It is only possible to display one row per resource. However, you can group multiple resources under a tree node...
Undo Moving event and Undo Resizing event
Answered: Use .onEventMove event handler instead and call args.preventDefault() to prevent the default action and onEventMoved event from being processed:
dp.onEventMove = function(args) {
if (!confirm('A...
Change "gannt_default" design to my own design
I created a new Gantt design using the Theme Designer, put it into the same location as the other themes, created a <link> next to the other themes in my code and finally I tried to call it with "gan...
Update headerHtml in onBeforeCellRender
I use angularjs and monthly calendar. I try to update the headerHtml in beforeCellRender event. onBeforeCellRender: function(args) { if (args.cell.start.getDay() === 1) { // first day of month args.c...
AngularJS locale property not working
Answered: I've tested it and it seems to work (even with your code). Where exactly do you see English? In the demo (http://javascript.daypilot.org/demo/lite/), changing the locale affects the day headers and i...
Daypilot month navigator getting issue
Answered: Normally this indicates a syntax error in JavaScript code, like this:
alert(1 1);
However, in this case it is probably a bad response from the server. DayPilot expects a JSON string which it is t...
Missing Ressource ..../Backend in MonthlyEventCalendar
Hi, i try to integrate a single page with a monthly event calendar into an existing ASP-NET MVC project and created the page accordingly to this tutorial: http://code.daypilot.org/10607/monthly-event...
Disable Row(resource)
Answered: In DayPilot Pro you can use onEventMoving and onTimeRangeSelecting events to evaluate custom rules during drag and drop and forbid the action depending on the result: http://api.daypilot.org/daypilot...
My DayPilotCalendar don't fire the OnTimeRangeSelected Event on PostBack
Answered: It's now fixed in version 5.0 SP1 (build 303): http://www.daypilot.org/download/
How to create a new event?
Answered: Sanjeev, please see the HTML5 Event Calendar Tutorial, "Drag and Drop Event Creating" section: http://code.daypilot.org/17910/html5-event-calendar-open-source
Server side click won't fire
Hi, I'm trying to implement server side click for Lite version using this reference https://www.daypilot.org/server-side-event-handling/, but the click event won't fire. Also tried with Debug mode us...
DayPilotNavigator
Is the DayPilotNavigator supported or work with the DayPilot Lite? If so do I need to add another reference to use that control? Thanks for any insights.
How to customize color code for events in Scheduler
Hi Team, Currently we are evaluating DayPilot Scheduler for one of our projects. We have a requirement where color code of events in scheduler needs to be customized based on certain conditions. Is t...
BusinessBeginsHour BusinessEndsHour not set when switching between day, week, and month view
I'm following this tutorial: http://code.daypilot.org/33944/event-calendar-day-week-month-for-asp-net-mvc to create calendar in day, week or month view. I've set BusinessBeginsHour and BusinessEndsHo...
Insert an input to the file edit.php
I would like to know how to insert another field commented on edit.php file because eh treaty but I always get an error using the lite version and let me know if possible. Thanks.
Event calendar: adjacent events falsely treated as overlapping
In the event calendar view, Daypilot Lite treats two events as overlapping if the end time of one of them is the same as the start day of the other. Therefore, neither of them takes the full width of...
Calendar appointments with UTC start/end
Hello, I am trying out DayPlanner MVC on Azure Websites. They run in UTC. When the DayPilot javascript calls the Backend controller method, the start and end times of events are in the correct time i...
Is there a way to show other data than the actual date in the header?
I'm thinking about using this for a room booking scheduler, but rather than showing multiple days horizontally, I would like to only show a single specific day with all the available rooms and the se...
In Month view, events longer than one week (8 days+) only display on the last week row.
Answered: This issue is now fixed in the new 1.2 release: http://javascript.daypilot.org/daypilot-lite-for-javascript-1-2/ Let me know if there is any problem.
How to make data refresh when selecting different week on Navigator?
Answered: You need to reload the data source in Command event handler (where you change the dates according to the selected date received from the Navigator).
protected void DayPilotScheduler1_Command(object...
Display Hours as header or (Hours and Days)
Hi, I currently have a scheduler for a sight, but I'm having a hard time as to how can I show Time per day(24hours) as well as days in a week both in X axis. >daypilotplanner.aspx This is my current ...
post value send
Answered: You can pass a custom object as the third parameter but it will be sent in the body serialized to a JSON string:
DayPilot.request(url, successCallback, postObject);
If you need to send custom pos...
BusinessHours
Answered: The HeightSpec = BusinessHoursNoScroll is not available in the MVC Lite version at the moment. Most likely, it will be added in the next release.
Event Calendar only shows current day
Hi, I cant seem to get the Event Calendar to show more than the current day. My Controller looks like this currently: public ActionResult BackEnd() { return new Dpc().CallBack(this); } } public class...
Long event (multy day)
Good day, I use a DayPilot lite for Javascript, and when I create an event which will start in one week and end in another, calendar control is only render last part, but preserve a place in the firs...
Manually refresh daypilot Lite
Is there some way to manually refresh it? I found another post in the forum about a year old but it couldn't possibly be more cryptic to me. Has anyone had any luck doing this?
Uncaught TypeError: undefined is not a function error while initializing daypilot
Answered: http://geeksprogrammings.blogspot.com/2015/01/Uncaught-TypeError-undefined-is-not-a-function.html Fnally I found a solution to the error . this link provided me explanation of why and what of this er...