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

Questions Tagged mvc

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

Hi We are using Daypilot MVC Scheduler. The scheduler will refresh using external code every 60 Sec. I am having some JSON Error if the connection drops. I tried to capture the error and redirect as ...

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

scrollToResource

I need to return the user to the last row they clicked on and see references to scrollToResource but it doesn't seem to exist in the Pro MVC build. Is there a way to do this in MVC?

Time and Attendance for ASP MVC

Hello, I am after a working time and attendance component with managers approval and invoicing - status (approval/rejected) and various states (like submitted, new, locked etc). So the same timesheet...

Monthly Event Calendar - Steps after AJAX Calendar Event Moving not clear

Answered: To get it working you need these elements: 1. A MVC view with the calendar (Views/Home/Index.cshtml) 2. A controller action for this view (Controllers/HomeController.cs: Index() method) 3. A controll...

Scheduler OnTimeRangeSelected shows wrong start/end

I set business hours at 7-23 and do not want to show non business hours. My code looks like this: http://pastebin.com/V5RhtV0d The thing is that on time range selected it shows wrong hours, e.g. star...

Scheduler not working

Answered: Ok, nevermind I just used the function I wrote before: protected override void OnBeforeCellRender(BeforeCellRenderArgs e) { if ((e.Start.DayOfWeek == DayOfWeek.Saturday || e.Start.DayOfWeek == DayOfW...

Daypilot MVC Contextmenu configuration

Answered: You can build the DayPilotMenuConfig on the server side and pass it to @Html.DayPilotMenu helper using a Model. However, this will only work if you know the state when the page is being rendered. If ...

Show Current date on moving

Hi, I have some question about to show current date on event moving. Can I set the scheduler to show only current date hover on the shadow and disabled start date and end date on left and right? Than...

DataTextField string from another table

Answered: At this moment it can only read direct properties - you'll have to create an alias: public string PaintballName { get { return PaintballOption.Name; } }

How to split hour in DayPilot Lite (Is it still only in Pro)

If your answer is 'Only Pro': "Please inform/guide me a way to make it ( Lite version of MVC ) work to split an hour into 4 parts. As i only need this functionality, to be added in free version given...

Can I fix the position of Time line?

Answered: Yes. You need to use one of the HeightSpec modes that support a vertical scrollbar (Fixed, Max, Parent100Pct): https://doc.daypilot.org/scheduler/height/

Move event to a time that spans two different days in Calendar

Answered: Yes, you're right. The current implementation doesn't allow that. You might use DayBeginsHour and DayEndsHour as a workaround (it will let you customize the start and end hour so the midnight won't b...

Switcher for two kind of calendars

I'd like to have one navigator for two kind of calendars. One (day/week/month) shows paid events and second (day/week/month) shows not paid events. I have this code: <script type="text/javascript"> v...

Dynamically change DataTextField by buttons in Calendar

Hey. Is there any way to dynamically change the DataTextField source by clicking button? For example I'd like to have two buttons: 1. Person Count 2. Event "Owner" and dynamically change the DataText...

How to check external drag item leave the scheduler?

Hi, I need some help about the event to check external drag item move out the scheduler area. How to check it? Thank you.

Scheduler for MVC 5 demo

Answered: The download package includes binaries for MVC3, MVC4 and MVC5. The demo that is included is configured to run with MVC4. You can switch the demo to work with MVC5 (updating the references and web.co...

TimeRange moving down and down

Answered: Ah you're right, have no idea who changed it, but on 100% it is fine, sorry for problem.

EventMoveJavaScript

Answered: EventMoveJavaScript supports the following variables: e (DayPilot.Event object) newStart (DayPilot.Date object) newEnd (DayPilot.Date object) ctrl (boolean) shift (boolean) The Scheduler and Calendar...
Questions 1-30 of 304 Next