Questions Tagged calendar
Disable eventoverlap on on client side in calendar?
Answered: Unfortunately it's not implemented in the Calendar at the moment. It will be added in one of the future releases.
End Date is not showing inclusive of date.
Answered: I assume you are talking about the month control: http://mvc.daypilot.org/demo/Lite/Month/ DayPilot works with full DateTime specification for both the event start and end. This means the end date is...
How to show or bind the weekdays dynamically?
Answered: You can specify the week date using StartDate property. It is accessible in the config (DayPilotCalendarConfig class):
@Html.DayPilotCalendar("dpc", new DayPilotCalendarConfig {
BackendUrl = Ur...
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...
Same event times (UDT) between calendar resource view and workweek view but they display at different local times.
I have a list of events that I share between a Resource view and a WorkWeek view. The daypilot dates of the events are UDT time as expected. When those events are displayed in the Resource view, they...
Selected event unselects when I call .update() on Calendar?
Answered: This is a bug which has been fixed in build 8.0.1746. You can test it and download the latest build in the sandbox: http://javascript.daypilot.org/sandbox/calendar/eventselecting.html
How to process event double click without error in DayPilot Calendar?
Answered: Please see the documentation on how to use event double click event: http://doc.daypilot.org/calendar/event-double-click/ In the latest realease (http://javascript.daypilot.org/daypilot-pro-for-javas...
Daypilot recurrence events error
0 down vote favorite I have used the recurrence feature used by daypilot calendar as following : protected void Calendar_BeforeEventRecurrence(DayPilot.Web.Ui.Events.Calendar.BeforeEventRecurrenceEve...
External Drag for scheduler with calendar
I want to perform an external drag from a gridview to a Scheduler with a linked navigator to select date. If we select different date from the calendar, e.StartDate and e.EndDate will still be Today ...
Calendar inside Bootstrap tab scroll bar issue
Answered: I found a solution. In stead of a tab control. I used Fadein/Fadeout and buttons to simulate a tab control. When the view loads all the daypilot calendars are visible, then I fadeout/fadein the divs ...
Local Time Client Calendar but UTC Server Side
(2014-09-02 08:42 UTC) Hello All, I am using the 'ASP.NET WebForms 7.8 SP2 (build 7.8.3169)' Calendar object. I have an issue with Local/UTC DateTime handling. I have been going though all (most?) fo...
HourHalfBorderColor in CssOnly mode
Hi, i'm trying to update an old project using Daypilot Calendar to use the new CssOnly available since v7. I'm stuck trying to reproduce the HourHalfBorderColor properties of non CssOnly mode. I need...
Why does calendar add event at wrong time when using BusinessHoursNoScroll
Something seems weird when switching between businesshoursnoscroll and businesshours. The time of the event is incorrect. Here is a fiddle: http://jsfiddle.net/Viktor/uf6x4hdn/1/ Side note: It would ...
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 set DayPilot calendar DayBeginsHour and DayBeginsHour dynamically
Answered: Not all properties are synchronized during the CallBack update - forcing the full update using DayPilotCalendar1.Update(CallBackUpdateType.Full) doesn't help. 1. You can place the Calendar control in...
IE 8 slow loading Calendar on Post-Back
Hi, we have an application that uses 6.9 pro with the webforms calendar and every time the page is posted back i.e. changing a date, the calendar takes a long time to render. Surprisingly the longest...
AfterRender-Event MVC Calendar
Answered: Ok, I've found a solution. I overwrite the function in the document.ready. Example: $(document).ready(function () { dpCalendar.afterRender = function () { afterRenderCallback(); } });
Calendar columns width
Hi, It's any way to determine the with of then calendar's columns in ressource view. WidthInPrct property of column object become obsolet. I would like to have 3 columns per day with 1 smaller (20%),...
InnerHTML render bug in Calendar cells
Hi everybody, I would like to know if there's a quick workaround to fix a bug (at least I suppose that is a bug) in cells render. I'm using the Calendar component, and I'm trying to inject some html ...
Events rendering very slowly on DP Calendar
Answered: Hi Dan, I think I found a possible reason why the calendar was so slow to load. I had a OnBeforeEventRender method to apply a color code each event, and that is why the rendering time was so long. No...
CSSClass problem in BeforeEventRender Method with Daypilot Calendar
Answered: The class is added to the element if CssOnly="False" is set on the DayPilot:DayPilotCalendar but not of CssOnly="True" I've figured this workaround: modify the InnerHtml to add a marker div then add ...
Disable cell selection
Answered: At this moment it's only possible to disable the cells for the whole row by marking it as parent using PreventParentUsage. See also: http://code.daypilot.org/34704/restaurant-table-reservation-tutori...
Vertical scrollbar
Answered: You can control the vertical scrollbar using HeightSpec property: http://www.daypilot.org/calendar-control-height-and-business-hours-heightspec.html
Navigator for DayPilot Calendar with ViewType='workweek'
Is there an easy way ('easy' meaning preferably some sort of DayPilot attribute/method) to make a navigator bound to a dpc whose viewtype is set to workweek? The problem I'm getting is that I'm using...
Resize calendar control to fill parent
Answered: Thanks to Dan for pointing this out for me: Every single parent element of the calendar must have its height set to 100%. I was missing the "height: 100%" on the HTML element of the page - adding tha...
Small IE layout issue with Calendar
Answered: Thanks, Richard. It's fixed now in build 6.6.2364. You can download and test it in the sandbox: http://www.daypilot.org/sandbox/Calendar/ScrollingArea.aspx See also: http://www.daypilot.org/daypilot-...
Calendar stuck in loading
Hi... I am not sure this is a bug, but I have a DayPilotCalendar in an UpdatePanel and bound to an EntityDataSource. When I initially load the page, it appears correctly. When I change its StartDate ...
How to show 22PM to 7AM as businesshours within a calender?
Answered: You can override IsBusiness status using BeforeCellRender event handler. This event is called for each calendar cell. You need to check the e.Start value and set e.IsBusiness as needed. See also: htt...
How to show slots that have EndTime >= 00:00
Answered: I'm not able to reproduce the problem. If I create a new event (from 22:00 to 00:00 the next day) it displays fine: http://www.daypilot.org/demo/Calendar/ Are you sure that you are loading the data f...
How to stop flickering of DayPilotCalendar in updatePanel
Answered: If you place the Calendar inside an UpdatePanel it gets redrawn completely during update. Different browsers may be able to handle it differently (IE is not very good at smooth redrawing). The page l...