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

Questions Tagged mvc

Value cannot be null. Parameter name: collection

Answered: Dave, what's the version of DayPilot you are using? If you are not using DayPilot Lite for MVC 1.2 already I recommend switching to to because it's compiled with MVC4. http://mvc.daypilot.org/daypilo...

Pass Json to controller.js without using backend

We are currently pulling time records, validating those records. Then we call the "Backend" method in the Calendar controller in order to generate the daily calendars. I would like to by pass the Cal...

NuGet Integration

Answered: It looks like a good idea. I'm adding it to the wishlist.
mvc

Is there a way to print a DayPilot Month, Calendar or Scheduler for MVC

Answered: Image export is not implemented for the MVC version yet. It might be available in the 7.2 release.

BeforeCellRender

Answered: It's now fixed in build 5425. See the sandbox: http://mvc.daypilot.org/sandbox/

Dynamic Column Hide of Calendar

Hi DayPilot Team, I am using DayPilot Calendar, I would like an option to only show contacts that have availability or appointments on each specific day. So on Monday you may see John, Mary, & Mike. ...

"The request must start in "JSON" string " error occur in asp.net mvc rezor c# schedule deleopment

Answered: Please see section #3 of the tutorial (3. MVC 3 Controller). There are two Actions that need to be created: Index (opens the view) Backend (backend for internal ajax callbacks) If you open the action...

End of day not show all hours

Answered: It seems this has the same cause as this issue: http://forums.daypilot.org/Topic.aspx/1659/events-times-not-matching-placement-on-dpc That is, when StartDate is set including the time part the Calend...
mvc

Copy/Paste

Answered: Brandon, It's already possible. Please see the following guide: http://kb.daypilot.org/46975/how-to-implement-copy--paste-in-the-calendar/

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

Events' times not matching placement on dpc

Answered: This turned out to be a bug in StartDate property handling. Setting this property to a DateTime value that included time during a callback confused the calculations. It's now fixed in the code base (...

DPM ContextMenuClientName not working properly

Answered: It's now fixed in build 1.6.5405. Thanks Brandon!

ScrollPositionHour not working properly

Answered: It should be working as you describe, i.e. it will scroll to the set position after the initial page load. The default value is set to BusinessBeginsHour and you can override it as needed: ...

Error - The Request must start with JSON string

Answered: You will see this error if you try to open the backend URL in a browser. In order to show the Calendar you need two URLs (corresponding to two controller actions): 1. The first one will show a view w...

Choosing which ContextMenu to use

Answered: Yes, this is the correct way. You should set a default menu using ContextMenu. In this case it's either "menu_priveledged_user" or "menu_disallow". Then you should override this default value using O...

Modal CSS

Answered: Yes, you can load the stylesheets directly in the page loaded using the DayPilot.Modal.showUrl() - e.g. Edit.aspx. Pages open in an iframe don't use the stylesheets of the parent page.

Simple Database Question

Answered: Hi brandon, Yes, you can load the data directly to Events property. It accepts any IEnumerable. You only need to map the object properties using DataIdField, DataStartField, etc. See an example (usin...

MVC Razor Tutorials

Answered: For ASP.NET MVC tutorial, please see http://code.daypilot.org, especially http://code.daypilot.org/tag/mvc
mvc

Binding Events does not contain property resources?

I am following the example here: http://mvc.daypilot.org/mvc-3-razor-calendar-and-sql-server-tutorial-c-and-vb-net/ I am getting an error on the callback. I can see my data and the fields I am settin...

Delete event For MVC 3

My Company is about to show our custummer DayPilot Pro. Atm ive got create event and edit event to work. but i cant figure out how to make a delete event to work in MVC 3? i have a ode like this atm ...

User can pick time from calender control

Answered: i use this: http://trentrichardson.com/examples/timepicker/
mvc

DayPilotMenu in MVC

Answered: Yes, you can use context menus in DayPilotPro for MVC3. Here's an example: @Html.DayPilotMenu("menu1", new DayPilotMenuConfig { CssClassPrefix = "menu_", UseShadow = true, Items = new Da...

How to redirect to another Pager (Controller Action) when clicking an event ?

Hi, i try to find a solution to redirect to another controller action when i click an event in the daypilotmonth component. Maybe someone has an idea or a small peace of code to solve that problem? T...

Level Missing from BeforeTimeHeaderRenderArgs

Why was the Level property removed from the BeforeTimeHeaderRenderArgs object in the latest release for MVC scheduler? How can you format the bottom row/level of the header without affecting the form...

Open PartialView in Modal Window

I have looked at the article on How to open a new event dialog using TimeRangeSelected event using modal.js and wondered if anyone has done this using the Razor engine of MVC 3? The article loads an ...

DayPilot MVC scheduler print

Answered: This feature is not implemented yet but it's coming soon!

External Drag & Drop in Calendar in DayPilot for ASP.NET MVC

Answered: Yes, it's supported. Please make sure you are using at least build 1.2.5352. A live demo: http://mvc.daypilot.org/sandbox/Calendar/ExternalDragDrop And also for the Scheduler: http://mvc.daypilot.org...

OnBeforeEventRender

Answered: It's now fixed in build 5349. See also: https://mvc.daypilot.org/daypilot-pro-for-asp-net-mvc-1-2-sp1/

Hide unused resource headers

Answered: There is no way to do this at this moment. I will check if it will be possible to include it in one of the future releases. It seems that it could be relatively easy to implement.

Click and drag whole event?

Answered: This is controlled by the EventMoveMargin property. You can increase the value as needed. The default value is 5 (pixels).
Previous Questions 361-390 of 400 Next