Questions Tagged
Dynamically setting DayBeginsHour in C# code-behind
Answered: Jeff, There was a problem with passing the updated DayBeginsHour/DayEndsHour to the client side during CallBacks. It's fixed now in build 7.8.3155. See the sandbox: http://www.daypilot.org/sandbox/
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...
Allow "Selectable" as a field on Cells in BeforeCellRender
Hi Dan, Please reference this old question: https://forums.daypilot.org/Topic.aspx/661/prevent_time_range_selections You had suggested an elegant potential solution, of having each Cell having a prop...
Scheduler multiuser- able?
Answered: Solving record locking is far from simple in web applications. See the following SO question for a brief outline of the problem: http://stackoverflow.com/questions/3358957/blocking-a-record-from-edit...
Is it possible to select multiple cells on DayPilotCalender
I was just wondering if it was possible that when you was on the Day Pilot Month pro for a user to select multiple days on the month view and then to right click on the selected days and click 'Book ...
How to set every Sunday and Bank Holidays as different colour.
I have been trying to figure out how to can specify days and set there background colour. I have been trying different things like: (Just to set Sunday as a different colour, this didn't set the back...
How to disable drag over cells in time range selected?
Answered: Make the following changes to get it to work: timeRangeSelectedHandling set to Disable change onTimeRangeSelected to onTimeRangeDoubleClick this will disable the drag select and only keep let you ins...
Show Event Count
Answered: 1. Server side: You can count the number of items in your DataSource. It should match the number of visible events provided that you limit the SELECT properly (using StartDate and EndDate). Note that...
Resource tree not expanding after update
Answered: It was definitely something with my style sheet. I will try to apply my styles one by one and see if I can get it to look the same without breaking the expand/collapse. Thank you for your help.
Event Resize: Stepless ?
Answered: You can turn of the "snap to grid" behavior using .snapToGrid property. See also: http://doc.daypilot.org/scheduler/snap-to-grid/
how to make AutoGenerateEditButton a button instead of a link
Answered: Please take a look at this: http://stackoverflow.com/questions/2638265/how-to-create-a-custom-button-in-a-detailsview-in-asp-net Another option is to avoid the DetailsView and create the form manuall...
Scheduler Event text is not showing as I scrolling right - make text always visible
Answered: DayPilot Pro v7.7 introduced "Floating Events" feature that does what you need - the it makes the text of long events visible (in the current viewport). Please take a look at 7.7 release notes for mo...
change color of the Insert/Update/Cancel links at the bottom of the popup
Answered: Please see my comment here: http://forums.daypilot.org/Topic.aspx/2371/how-to-make-autogenerateeditbutton-a-button-instead-of-a-li
exportra a excel un daypilot
quisera saber si es posible exportar un daypilotcalendar a excel desde asp.net2010
Right click from mobile
Answered: With the upcoming 7.8 release you will be able to use: dp.eventTapAndHoldHandling = "ContextMenu"; This will activate the context menu for the "tap and hold" gesture. You will need to add custom drag...
Allow future date selection in DayPilotNavigator
Is there a way to enable quickly getting months/years ahead. I have seen other selectors where you can click on the Month name and it pops up a quick way to go several months ahead. How do I do this?
Event Moving
Answered: You need to handle the EventMove event on the client side:
<DayPilot:DayPilotCalendar ....
ClientObjectName="dpc"
EventMoveHandling="JavaScript"
EventMoveJavaScript="ask(e, newStart, newEn...
Fixed height for row (css override) ?
"Hi, with Daypilot Scheduler < 7.0 is it possible to adjust the row height manually (maybe with some css overrides) to a fixed height ? In my specific case I need to limit the rows displayed for a re...
Click event on resource in Scheduler
Answered: Got it to work with a contextMenu: dp.onBeforeResHeaderRender = function (args) { args.resource.contextMenu = new DayPilot.Menu({ items: [ { text: "Something", onclick: function () { alert("You click...
Actual dates
Hello, is there a way to include in the Event the actual dates? (Actual Started Date, and Actual Ended Date)?, and have a graphical view of the Planned vrs. Real?
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...
Exception (DataItem doesn't hold any source object)
Hi, I get this exception if the calendar has the BeforeEventRender event. Why this happen? This happen because the Source is null, how I can set this property? Thanks in advance
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...
Select, Insert, Update and delete with my own methods
Hi, I have my own methods to delete, insert, these methods need x parameters to work, how properties of the DayPilotcalendar which I link to my methods?, i.e, to select would be DayPilotCalendar1.Dat...
Javascript error when loading All-day event
Answered: You should upgrade to the latest DLL. Version 6.5 is almost 3 years old and this bug has been fixed already.
Custom ContextMenu on CellRender DayPilotMonth
Answered: This is not yet implemented but I will take a look at it.
How to set value of result in a modal window ajax request?
Answered: You are using the server-side syntax:
Modal.Close(this, "OK");
On the client side, it has only one parameter:
window.parent.DayPilot.ModalStatic.close("OK");
Enable specific hours in a day
Answered: In the scheduler, you can choose to display only selected fragments of a day using IncludeCell event: http://doc.daypilot.org/scheduler/hiding-time-columns/ It's also possible to create the timeline ...