Answered: If you want to refresh the events it is better to use .events.list array instead of .events.add() method. Adding events one by one using .events.add() works too but it is slower (it refreshes the sch...
Answered: You can use something like this: An example using DayPilot.request(): function loadResources() { DayPilot.request("backend_resources.php", function(result) { var data = eval("(" + result.responseText...
Answered: You can use BeforeEventRender event to modify the event HTML as needed. protected void DayPilotCalendar1_BeforeEventRender(object sender, DayPilot.Web.Ui.Events.Calendar.BeforeEventRenderEventArgs e)...
Answered: The event height in DayPilot Month can't be set individually. You can increase the event height using .eventHeight property (for all the events). Having custom height for individual events would prev...
Answered: You will need to use the Calendar control switched to Resources mode: http://doc.daypilot.org/calendar/resources-view/ If you are going to display a lot of resources on the X axis of the calendar, yo...
Answered: Found the answer: hope this helps other people save some time //This gets called when the user drops the event dp.onEventMove = function (args) { //args.e is the event object that is being moved //ar...
Answered: Yes, there is a plan to add a year view based on the scheduler ( http://doc.daypilot.org/scheduler ). It will look like the timesheet mode ( http://doc.daypilot.org/scheduler/timesheet/ ) but there w...
Answered: You can try 1. to remove [assembly: AllowPartiallyTrustedCallers] from DayPilot/Source/Properties/Assembly.cs (and recompile DayPilot) or 2. to add [assembly: AllowPartiallyTrustedCallers] to your dl...
Answered: It is minimized using ESC (ECMA Script Cruncher). You can find the instructions here: http://www.daypilot.org/how-to-compile-daypilot-pro-source.html The ESC download page is no longer available but ...
Answered: I've posted a short tutorial that demonstrates how to modify the CSS theme for the timetable tutorial : http://code.daypilot.org/39902/asp-net-timetable-with-custom-css-theme Instead of the _matrix c...
Answered: This has to be done on several levels: 1. You can use the authentication system you already have in place to identify the current user. 2. Let's simplify the authorization rules (ACL) to general "rol...
Answered: It depends on what you actually want to do (and it looks like #1 is what you are looking for): 1. If you only want to call a client-side method, use EventClickHandling="JavaScript" and specify your j...
Answered: What you describe is basically the default "Resources" mode: http://doc.daypilot.org/scheduler/resources/ You need separate database tables for "Tasks" and "Actions". Task = has a name, displayed in ...
Answered: You can use 'moveDisabled' property: var e = new DayPilot.Event({ start:new DayPilot.Date(), end:(new DayPilot.Date()).addHours(5), id: DayPilot.guid(), text: "New Event", resource:'E', moveDisabled:...
How do you implement 'all-day' events in the month view. If the client wants to show the event start time it is still showing for events that have a start and end time of 00:00:00. What is the correc...
Answered: This behavior is only supported on touch devices. Dragging in the grid will scroll the area. In order to start selecting a time range you need to hold the finger for a while.
Answered: The Scheduler doesn't contain any element that can get focus. You can detect the Delete key for the whole page using the following code: <script type="text/javascript"> $(document).keyup(function (e)...
Answered: You probably mean the ToolTip (based on HTML title attribute). You can disable it using ShowToolTip property: http://doc.daypilot.org/month/event-bubble/
Hi all, I want to change the message bar his style depending of its type (error or warning). Now I tried : function afterRender(data) { if (data != null) { dps1.message(data.message, 5000, "#dc143c" ...
Hi, this is my first post. I want to disable partially disable scheduler event. e.g Event slot is from 00:00 to 23:30 I want to disable this event from 00:00 to 02:00 Regards, Muhammad Kamran Jr. Sof...
Answered: This is the English version as translated by Google: "Is it possible to change the day view calendar will be scheduled so that, for hours and across the rooms?" This translation is not perfect so thi...
it is possible to set different views for scheduler using, for example, the calendars to select daily, weekly or monthly as is the case in simple calendar?