Questions Tagged mvc
DayPilot Client Script Version ?
Just yesterday, I'm using DayPilot MVC 7.75664.0 and client script version 800. Today, I delete the old script and reference newest version 7.8.5684.1 and add client script version 921, but when I ru...
Resources will not align with cells
Answered: Ok solved and me being thick, the default css added by MVC 4.0 asp.net set's margins for tr in a css file that was overiding this
Display DayCalendar without Navigator or Tabs
Client asked for a report that showed the dayCalendar (week) with events but no Navigator or Tabs (for Day/Week/Month). I created a view with the dayCalendar, but it would only show the current day r...
Clash between DayPilot Pro and WebService in MVC
When I added a webService to the project that implemented a connection to a ReportViewer, a build returned the error that it could no longer find the reference DayPilot Pro. For anyone who encounters...
How to hide week ends in Weekly view of DayPilot Calendar MVC?
I want to hide the Week ends(Saturday and Sunday) in the Weekly view of DayPilot Day/Week/Month Calendar MVC. I have hided them in Month view using ShowWeekEnds flag. But want to do it in Weekly view...
CellsPerHour equivalent
The web forms event calendar control has a CellsPerHour property to set the number of divisions between hours. I don't seems to be able to find a similar property in the MVC flavoured control. How ca...
Fixed Hour Column in DayPilot Calendar and Vertical Scrollbar Always Visible
I need the hour column of the calendar to be fixed (so it stays in place while I scroll right). As much as I would like to do it myself, I haven't got the time to dig through all the 6500 lines of co...
How to make customized navigator
Answered: Please take a look at this guide: http://doc.daypilot.org/month/manual-date-switching/ You can bind any kind of navigation controls (plain links, drop-down list, etc.) using .commandCallBack() method...
different durationbar color ?
Answered: You can change the duration bar color using BeforeEventRender: http://doc.daypilot.org/calendar/event-customization/ This event is called for every event. If you request a calendar refresh after savi...
OnEventBubble won't fire
Answered: In the latest demo (7.7.5664) it seems to work fine and there hasn't been any problem with the bubble recently. http://mvc.daypilot.org/demo/Scheduler/ Anyway, it's important that the bubble declarat...
RTL is working buggy on mobile browser in weekMode
Hi When the calander is in week mode range select in RTL mode on mobile browser (firefox) is working like mirror, for example when you select a range from first column in the left, the control shows ...
Passing Data to OnEventMove with e.Data
Answered: e.Data holds custom data sent from the client side when invoking the EventMove event manually using .eventMoveCallBack(). See also: http://api.daypilot.org/daypilot-scheduler-eventmovecallback/ If yo...
Change Navigator Week When Event Clicked in Month
Answered: You can change the navigator date using .select(date) method: http://api.daypilot.org/daypilot-navigator-select/ You can call it from the EventClickJavaScript handler:
@Html.DayPilotMonth("dpm", ne...
Execute javascript function after clicking ok button on event creation DayPilot Month.
Hello! My name is Roby. I'm using DayPilot Month Lite in my project. I need to trigger a javascript function after I click the OK Button into the event creation alert. My big questions (after reading...
Event assigned to duplicated resource (scheduler)
Answered: If you use the same resource id then it will be displayed in both rows.
Prevent Adjusting Start and Prevent End being Adjusted to less than certain date
Answered: At this moment there is no way to apply such limitations on the client side during the drag and drop operation but you can check the rules on the server side in the OnEventResize and/or OnEventMove o...
Getting back additional data from calendarbackend
Answered: You can send custom data using Update() method: http://doc.daypilot.org/calendar/callback-update/ The data parameter will be passed to AfterRenderJavaScript. It is stored in CallBackData internally.
Scheduler month header not always visible when DynamicLoading=true
Answered: This issue is fixed now in build 7.7.5657. You can test and download it in the sandbox: http://mvc.daypilot.org/sandbox/Scheduler/DynamicEventLoading Please let me know if there is any problem.
How can i change the start date and end date dynamically by user selection
Answered: CommandCallback
Demo project does not launch with VS 2013
Answered: This turned out to be an issue of IIS Express that reports different values in request.Path and request.ApplicationPath. It's now fixed in build 1.3.401: http://mvc.daypilot.org/daypilot-lite-for-asp...
Navigation
Answered: You can switch dates using .commandCallBack() method: MVC View
<div class="note">
<a href="javascript:dp.commandCallBack('previous');">Previous</a> |
<a href="javascript:dp.commandCallBac...
Drag and Drop from table to Scheduler is working only for current date,Not working for selected date
Answered: This issue is fixed now in the latest sandbox build (7.7.5650): http://mvc.daypilot.org/sandbox/Scheduler/ExternalDragDrop The fix will be included in the next SP release.
Calendar for different users? (Users can only view/edit their own events)
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...
Move/Drag multiple events
hi Dan, besides selecting multiple events, would be also cool if the user is able to move or drag n drop multiple events in scheduler e.g. by pressing ctrl key? And all of event or callback argument ...
Show Bubble or Tooltips on empty cell
Answered: This is not supported at the moment but it's a good idea for one of the future releases.
Drag and Drop doesn't work when ShowNonBusiness = false
Version: DayPilotProMvcTrial-7.6.5625 Once I set below properties BusinessBeginsHour = 8, BusinessEndsHour = 17, ShowNonBusiness = false for scheduler (timeline view), drag and drop feature stops wor...
How to move/scroll (horizontally) using drag in scheduler
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.
How to listen or get the key event in scheduler e.g. delete key
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 ...