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

Questions Tagged mvc

How to change the time range showing in left hand side of the DayPilot Event Calender

I am Using MVC5 Event Calender. Now the default time range is showing from 12.00 Am to 11 PM , How to restrict it by showing only from 9 .00 AM to 5.00 PM

Scheduler MVC - Hiding rows without events

Answered: The isEmpty() method of DayPilot.Row is available since client core version 2759. It's now available in the sandbox version of DayPilot Pro for ASP.NET MVC: https://mvc.daypilot.org/sandbox/ The late...

Resource bubble is not supported yet

Answered: This should be fixed now in the latest sandbox build (8.4.5883): https://mvc.daypilot.org/sandbox/ Thanks for reporting the issue.

Javascript breaks when hover scroll bar

Hello, I am using DayPilot.Web.MVC version 8.3.5880.1 and daypilot-all.min.js version 2937. When I hover the scheduler scroll bar, on the bottom of the scheduler, I get this error message: "Unhandled...

Highlighting Today

Answered: Yes, you were correct I was using Version 7.9.5741.1, now that I changed to 8.3.5862.1 is working properly. Thanks.

Disabled Rows

Answered: The best way would be to use TimeRangeSelectingJavaScript to provide a custom event handler that forbids the selection for the given rows. Something like this: @Html.DayPilotScheduler("dps", new Da...

Changing HeaderDateFormat in Calendar has no affect on output

I have been experimenting with the DayPilot lite version 1.5.434.0, and I have been unable to change the way the dates are rendered. I would like to have the day name displayed, but currently it only...

One Event with multiple resources but same EventId

Answered: You need to supply one item in the datasource for each of the rows. Typically, you'll be storing the resources assignment (event-resource link) as a separate DB record anyway. I recommend using the a...

How do I specify Landscape for Print?

Answered: I did a couple of tests but unfortunately the only browser that lets you specify orientation when printing is Chrome. The only reliable way is to create a PDF file and insert the exported image. See ...
mvc

Apply filtering on "OnInit()" function

Answered: This will work fine - just make sure you don't overwrite Events in OnFinish(). OnFinish() is called at the end of every CallBack request.

Calendar scroll speed

Answered: Basically everything inside function() { .... }: <script type="text/javascript"> dp_day.nav.bottomRight.addEventListener("scroll", function() { setTimeout(function() { dp_week.nav.bottom...

OnBeforeCellRender optimization

Answered: This event is called once for every cell. Therefore the implementation should be as fast as possible. You should avoid making database calls from there. Instead, load the required data in advance and...

Possibility of an automated reminder

Answered: This needs to be done on the server side. DayPilot focuses on the UI and it doesn't include support for sending emails.

Set event bacground image without repeating

Answered: You can use an active area (https://doc.daypilot.org/scheduler/event-active-areas/) to place a custom rectangle the the specified position. Like this: e.Areas.Add(new Area().Bottom(0).Left(0).Width...

Timeline Chart - Selenium

Answered: The best way to target the DOM elements would be using the internal CSS classes (derived from the theme name) that are applied to the Scheduler: https://kb.daypilot.org/62119/list-of-css-classes-used...

Memory leak on Daypilot on Modal window

Answered: The upcoming version of DayPilot.Modal (2.8) will include a fix for this. You can also release the reference manually by calling "modal.iframe = null;" in onClosed event handler. Note that if you reu...
mvc

'daypilot-calendar' is not a known element

Answered: Both sources - the article (http://code.daypilot.org/63034/angularjs-event-calendar-open-source) and the forum topic (https://forums.daypilot.org/Topic.aspx/3170/directive-not-working) use AngularJS ...

Serialize ResourcesCollection

After I added sessionState in StateServer mode in the web.config. I encountered System.Runtime.Serialization.SerializationException in the serialization of ResourceCollection. The text of the error i...

Connection Error when populating Daypilot scheduler

Answered: That should work if you replace OnInit with OnFinish. OnInit is called once per page load, when the Scheduler is first displayed. OnFinish is called at the end of every callback request.

Callendars scrollbars working as one

Answered: You're right, sorry. The latest version requires a different syntax. @Html.DayPilotCalendar("dpc1", ...) @Html.DayPilotCalendar("dpc2", ...) <script> dpc1.nav.bottomRight.addEventListener("s...

StartDate = null after decode a recurring event.

Hi everyone, I am useing the following code to make a recurring event. RecurrenceRule rule= RecurrenceRule.FromDateTime(id, start).Weekly().Times(times); In rule the StartDate is correct. After Encod...

Demo failed in Visual Studio 2017

Hi The demo opened OK and built OK, however, when I ran it in Internet Explorer I got Server Error in '/' Application Exception Details: System.IO.FileLoadException: Could not load file or assembly '...

Updated sample for timesheet MVC 5 with pro

Hi can you share an updated sample on ASP timecard MVC 5, that also captures information like projects, bill rates etc

How to use Resource Utilization with MVC

I want to use this feature to show utilization for my rows, but i dont found any examples for that. This is the link to the official demo: http://mvc.daypilot.org/demo/scheduler/ResourceUtilization I...

Calendar Timetable with TimeHeader as a range of start and end

I would like to make a Timetable (daily) for my events, just to have one under another (one in a line). I've seen a tutorial, but it is for WebForms. For now I've done TimeHeaders with range of start...

AreaCollection in DayPilot calendar

Answered: Active areas were not supported in the Calendar grid cells until now. However, this feature is now available in the latest sandbox build (8.3.5867): https://mvc.daypilot.org/sandbox/

one events on tow resources

Answered: There are several possible approaches: 1. You can select multiple ranges at once: https://doc.daypilot.org/scheduler/time-range-multi-selecting/ 2. You can select additional rows and create a record ...

New Lines in DataTextField

Answered: Oh nevermind, I just replaced Environment.NewLine with <br /> and in wrote protected override void OnBeforeEventRender(BeforeEventRenderArgs e) { e.Html = e.Text; } works nice now, there are new line...

DayPilotScheduler variable no longer available

Answered: Yes, DayPilotScheduler namespace is deprecated as is no longer available. Instead of DayPilotScheduler.dragStart() you can use DayPilot.Scheduler.startDragging(options): Old syntax: DayPilotSchedul...

Event for ContextMenuSelection

Hey everyone, I tried to call a method in my contoller via a the MenuItemAction. In the normal ContextMenu the "OnEventMenuClick" event gets fired. So I want to know which event is for the ContextMen...
Questions 1-30 of 321 Next