search envelope-o feed check
Home Unanswered Active Tags New Question

Questions Tagged calendar

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...

how to change the value of the multipal DayPilotCalendar based on the click of DayPilotNavigator

Answered: Please see here: http://kb.daypilot.org/61736/how-to-bind-navigator-to-multiple-controls/

how to change the colour of e.DurationBarColor

Answered: You need to add this: DataTagFields="color" and handle BeforeEventRender event: protected void DayPilotCalendar1_BeforeEventRender(object sender, BeforeEventRenderEventArgs e) { e...

New HeightSpec value

Answered: In the 6.5 release (http://www.daypilot.org/daypilot-pro-6-5.html), it will be possible to specify the displayed hours range independently of the business hours and HeightSpec using DayBeginsHour and...

Using MVC Calendar

Answered: After a bit of work, I've answered both these questions myself. Limiting hours displayed can be accomplished by setting HeightSpec = HeightSpec.BusinessHoursNoScroll Passing in data to the calendar o...

Exception when calendar in viewtype day

Answered: Hi Robert, This was a bug. It's now fixed in the sandbox build (6.3.2231). The fix will be included in 6.3 SP1 release. Thanks for reporting the issue!

Scroll labels don't show

Answered: Scroll labels are available again since 6.2 SP6 release: http://www.daypilot.org/daypilot-pro-6-2-sp6.html

hide non business hours with fixed height Calender

Answered: DayEndsHour property will be available in DayPilot Pro for ASP.NET 6.5 release: http://www.daypilot.org/daypilot-pro-6-5.html

Scroll labels won't display

Answered: Scroll labels are available again since 6.2 SP6 release: http://www.daypilot.org/daypilot-pro-6-2-sp6.html

Horizontal scrollbar in calendar?

Answered: Thanks for the bug report. It's now fixed in 5.4 SP1.

How to print a calendar?

Answered: After some experimenting, I've found a workaround. The following code prompts the user to open/save the image. This makes it printable from IE as well. Response.Clear(); Response.C...

CellsPerHour and efficiency

Hello, I currently have a large schedule with CellsPerHour set to 10 (so each slot is 6 minutes) and it seems to really slow down. If I reduce the cells per hour, it seems to be alright. but unfortun...

Creating client-side DayPilotCalendar.Event object to pass to eventClickPostBack

Answered: The DayPilotCalendar.Event is now rather an internal object. I would like to make it more accessible for the future. Depending on what exactly you need to send back to the server, you can create your...

All Day Events now 'broken' in v4.7.1399

Answered: This property is called AllDayEnd and has two possible values: DateTime (DataEndField specifies an exact date point, including time) Date (DataEndField specifies a day only - Date part of the DateTim...

Vertical Scroll in IE7 Daypilot calendar

Answered: Hi Sheraz, I've explained this in an e-mail as well: The scrollbar width is different in IE and FF (there is 1px difference). That's why DayPilot sets the default width to 16 and then it calls a spec...

All day events

Answered: OK, it was meant to work the same way in the week view and in the month view. You are correct with the week view. I will fix it in the next release.

How to Change Language (English to German) of calendar.

Answered: Yes, it's possible. There are several areas that need attention when localizing DayPilotCalendar: The start and end details in the event box are formatted using the current culture. The header date f...
Previous Questions 91-120 of 120 Next