Questions Tagged mvc
how can I Prevent Time Range Selecting on non business days
Hi, How can I disable the time range selection on a previous period or non business days. Ranjith
TimerangeSelection on IPad
We have updated our MVC Calendar to version 7.9.5745.0 and have now problems with the TimeRangeSelection on iPad. Since the update, a single touch on a cell doesnt create a Selection. We have to Touc...
Excel like inline edit
Answered: Inline editing of existing events is supported: http://doc.daypilot.org/scheduler/inline-event-editing/ You can also create a new event and immediately start inline editing. See the following example...
Access to HttpContext User Name in call back handler
Answered: You can access the controller using Controller property in the backend class:
public class SchedulerController : Controller
{
public ActionResult Backend()
{
return new Dps().CallBa...
How to show the short date m/d in the week and month view
Answered: You can define the date format using TimeHeaders: http://doc.daypilot.org/scheduler/time-header-rows/ And you can also customize the time header HTML using BeforeTimeHeaderRender: http://doc.daypilot...
2013 Demo gets an error
Answered: It's fixed in the latest release (7.9 SP3): http://mvc.daypilot.org/daypilot-pro-for-asp-net-mvc-7-9-sp3/ The medium trust level setting is now removed from web.config: <trust level="Medium"/>
How can i clear the content of daypilot scheduler version 7.9
Answered: This issue seems to be related to the timeline only. You can see this exception if the timeline is empty, i.e. when Days is set to 0 or if you hide all columns (http://doc.daypilot.org/scheduler/hidi...
BusinessHours
Answered: The HeightSpec = BusinessHoursNoScroll is not available in the MVC Lite version at the moment. Most likely, it will be added in the next release.
current version of jQuery
Answered: Yes, there should be no problem with any recent version of jQuery.
Daypilot Event Calender HeightSpec property Issue
Answered: If the calendar is inside a hidden element during startup the scrollbar position can't be set (this is a browser limitation). There is a workaround solution implemented in the latest sandbox build (7...
Scheduler full update slow in IE 10
We are evalutating the latest MVC scheduler and are having trouble with performance when it comes to Internet Explorer 10. We are testing with 159 resources and 159 events and the initial load is qui...
Can't create event using javascript
I have tried to create event using javascript. I have created like this : @Html.DayPilotMenu("menu", new DayPilotMenuConfig { CssClassPrefix = "menu_default", Items = new DayPilot.Web.Mvc.MenuItemCol...
Event Calendar only shows current day
Hi, I cant seem to get the Event Calendar to show more than the current day. My Controller looks like this currently: public ActionResult BackEnd() { return new Dpc().CallBack(this); } } public class...
Serialisation not working properly on update
In my project I don't have direct access to an SQL database, so I can't fill the events List as described in the tutorials. So I have created a dummy DataTable like this: DataTable table = new DataTa...
Manually refresh daypilot Lite
Is there some way to manually refresh it? I found another post in the forum about a year old but it couldn't possibly be more cryptic to me. Has anyone had any luck doing this?
Custom Edit View
Hello, we testing the daylight pro version, is it possible instead of using a modal (javascript) form, events can be edited or created via a created / edit mvc view page? thx for your quick response ...
daypilot-all.min.js SyntaxError: Unexpected token )
Hi all. i trying to use mvc DayPilotScheduler.but error ni js file. Razor code : @Html.DayPilotScheduler("dps", new DayPilotSchedulerConfig { BackendUrl = Url.Action("Backend", "Home"), Scale = TimeS...
ReferenceError: System is not defined Issue in MVC 5
I have been stuck with ReferenceError: System is not defined issue. If I create a new mvc project and add the references then everything works fine. But when I add this to my current project, I get t...
How to use cssClassprefix in mvc3?
I tried using cssClassprefix in mvc3 daypilot.but it renders the inline styles.It does not support cssOnly property?So how can i apply cssclass in mvc3
Events can't span more than one week
I'm running into a problem with events that span through one week into the next. Using your online demo, create an event on a Tuesday and resize it to span to Friday. Next, move the event so the star...
Calendar inside Bootstrap tab scroll bar issue
Answered: I found a solution. In stead of a tab control. I used Fadein/Fadeout and buttons to simulate a tab control. When the view loads all the daypilot calendars are visible, then I fadeout/fadein the divs ...
Fast event move (multiple times) / slow server update
Answered: Hi Simon, The latest sandbox build (7.9.5695) now supports BlockOnCallBack property. If you set it to true the Scheduler will create a temporary semi-transparent div over its main area which will pre...
SCRIPT87: Invalid argument. daypilot-all.min.js, line 24 character 14012
Answered: I fixed this by try catching, it's not elegant but works: for(var i=0;i<this.shadow.list.length;i++) { try { $N.removeChild(this.shadow.list[i]); } catch (err) { } }
Recurrence Exception Bug v7.7.5664.1
Hello, I've implemented recurrence in my scheduler, much the same as the tutorial (TutorialDayPilotRecurrence) found on this site. The only difference is I'm using MVC, but both implementations suffe...
Cell Duration
Is it possible to add property of CellDuration to the DayPilot Calendar. I need 15 minutes CellDuration.
Losing business hour settings on update
I have the following options OnInit() BusinessBeginsHour = 9; BusinessEndsHour = 18; ShowNonBusiness = false; However, when doing OnCommand callbacks to change the day, it starts showing all hours ag...
Help with building ASP.NET event calendar
Answered: Have you added a reference to DayPilot.Web.Mvc.dll? If you are using a "web site" project type it's enough to copy the dll to the bin directory. For compiled projects (default for MVC) you need to ad...
Event Bubble Can not config
Answered: You should create custom CSS theme: CSS
.my_bubble_main {
cursor: default;
width: 100px;
}
.my_bubble_main_inner {
border-radius: 5px;
font-size: 12px;
padding: 4px;
color: #6...
floating the header ?
Answered: maybe this property, the DayPilot will show it owner scrollbar. HeightSpec = HeightSpec.Parent100Pct But I think the best solution is use jquery.floatThead
What property should I add or remove ?
What property should I modify ? Please see the attachment file