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

Questions Tagged mvc

Daypilot Modal window issue

Hello there I am using Daypilot Modal extender to show the popup screen when I click an event. I use bootstrap validation to validate my controls in my pop up window, so when I click submit button I ...

TimeRangeSelectedHandling = TimeRangeSelectedHandlingType.CallBack Issue

Answered: The CallBack is an internal mechanism that only allows communication with the server-side DayPilot backend. It exchanges messages in JSON format - in other words, you can't use it to open a modal dia...

Navigator for DayPilot Calendar with ViewType='Resources'

Answered: If you click a date in the Navigator and you have linked it to the main Calendar using BoundDayPilot property it will fire OnCommand event: @Html.DayPilotNavigator("dpn", new DayPilotNavigatorConfi...

Any way you can pass a model in BackendURL

Answered: The backend URL is just a URL string and it doesn't allow passing anything else. You can pass custom parameters as an ID, query string or in a cookie. Example for custom query string: @Url.Action("...

Unable to find "EventBubble" in Pro version

Answered: Hi dan Thanks for your email. Its my PC I think, the restart works and its is working as expected
mvc

I dont have the option for scroll to resource

Answered: You can scroll to a specific resource using the client-side API (JavaScript): https://api.daypilot.org/daypilot-scheduler-scrolltoresource/

Closed modal not cleaning up after itself?

Answered: This is how it works at the moment: If the modal displays a URL (and not custom HTML) it creates an iframe object and uses it to display the target page. Creating the iframe is expensive so it keeps ...

Remove Add 1 day to start date on create new event

Answered: The Scheduler uses exact time points. If you select a single day the dates will look like this: * start = 2016-08-10T00:00:00 * end = 2016-08-11T00:00:00 If you store the dates as date only (instead ...

Event Multi-Resize

Answered: Event multi-resizing isn't fully supported in the latest MVC version (8.2). The code above is for the JavaScript version and it may not work properly with the MVC version. However, the support for mu...

Different calledar for users

Answered: You can access the Controller using "Controller" property from within the Dpc class. Given that the user id is available as User.Identity.Name you can use something like this to filter the events: ...

close modal dialog

Answered: It's not possible to close the modal dialog from the server side. In the MVC samples, a slighly different approach is used - the form displayed in the modal dialog is not submitted in a traditional w...

Hiding resources with no events

Answered: load only resource which has events from loadResources Method.

Timeline Queries

Answered: The output under the "DayPilot MVC" section in your sample image is what I would expect to see. This is how it is designed to work - the second time header row displays days and it starts and ends at...

Display Loading Icon when Event Moving in DayPilotScheduler

In my ASP.NET MVC application, I am using a DayPilotScheduler. If anyone is trying to move the event, then it has to display a loading symbol. So what I have done is, In my HTML code, I have added, E...

How to Load only a Single DayPilotScheduler

Sir, In my ASP.NET MVC application, I have added a tab control with 2 tab items in a view. Both the tab items contains 2 different daypilotscheduler objects. The problem is, when I start my applicati...

Set Scheduler width with javascript in View

Answered: You might want to check the "Auto Cell Width" feature which adjusts the cell width to fill the available space (there will be no horizontal scrollbar): https://doc.daypilot.org/scheduler/auto-cell-wi...

Change Scheduler displayed Date format

Answered: The MVC Hotel Reservation tutorial at https://code.daypilot.org/32389/asp-net-mvc-hotel-room-booking uses the following code to format the start and end date: ReservationController.cs: public A...

Customise Cell Duration Label

Answered: You can customize the time headers using OnBeforeTimeHeaderRender: http://doc.daypilot.org/scheduler/time-header-customization/ The sample code would look like this: protected override void OnBefor...

Scale is always reset to the original Value

Answered: It was a bug, indeed. It should be fixed now in the latest sandbox build (8.2.5833): http://mvc.daypilot.org/sandbox/ Let me know if the problem persists. And thanks for reporting the issue!

Removing event not included in MVC angular demo

Answered: With Angular, you can delete an event by removing it from the underlying event array (events/daypilot-events attribute). The calendar will be updated automatically.

Licence for both ASP.NET MVC & ASP.NET Web forms

Hi Can you clarify the DayPilot scheduler costs and functionality please? As an organisation we are looking at both: • DayPilot for ASP.NET MVC version • DayPilot for ASP.NET Web forms version Can yo...
mvc

Edit

Answered: You mus use the EventClickHandling and EventClickJavascript to envoke a ModalDialog, an show the editable data on it. https://doc.daypilot.org/scheduler/event-editing/

Uncaught TypeError: DayPilotMonth.Month is not a constructor

Answered: What version of DayPilot do you use? It looks like you have a very old version of DayPilot.Mvc.dll (something like 1.1) and use it with a newer client-side library (daypilot-all.min.js). You always n...

Is there a way to drop external element on an event?

Hi Dan, I have some elements I made draggable with the function DayPilot.Scheduler.makeDraggable(item). Can I get the target event Id when I drag&drop over it the draggable item? Thank you.

entity framework

how can i implement the sql link via entity framework

integrating the daypilot calendar with may controller/view

Answered: In the Pro version, there is a ClientState property that will hold and persists such data (such as filter parameters) and pass them to the server side with every callback: http://doc.daypilot.org/cal...

Start and End Dates Daypilot Scheduler coming as wrong

Answered: Hi Dan, Initialise the DayPilot controls @Html.DayPilotCalendar("dpc", new DayPilot.Web.Mvc.DayPilotCalendarConfig { BackendUrl = Url.Content("~/MyRequests/Backend"), TimeRangeSelectedHandling = Time...

Delete event in lite version

Answered: The Lite version doesn't implement the integrated "delete" icon. The best way to handle it would probably be including a special "Delete" button in the "Edit" modal dialog (just like Google Calendar ...

Events not Displayed in custom timeline

Answered: Please see the following page with debugging instructions: http://kb.daypilot.org/101644/events-not-showing-up-in-the-scheduler/ In the MVC version, the events are loaded using a special callback whi...

Directive not working

Answered: If you don't see anything in the JavaScript console I recommend starting with the following minimum code: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Angular...
Previous Questions 151-180 of 400 Next