Answered: You can use the following workaround: function afterRender(data, isCallBack) { dps1.showBaseTimeHeader = false; dps1.timeHeaders = []; dps1.update(); } And set AfterRenderJavaScript="afterRender(data...
Answered: 1. The combination of UseEventBoxes=Never and setting the end time to the start time of the next event should work. If you take Image 3 and set UseEventBoxes=Never, does it work as expected? 2. You s...
Answered: This error suggests that the daypilot-all.min.js file was not included properly. This file defines the DayPilot namespace - it includes all the .js files merged (common.js, calendar.js, month.js, mod...
Answered: Yes, this is possible - you need to assign the context menu to ContextMenuSelection: <%= Html.DayPilotScheduler("dps", new DayPilotSchedulerConfig { BackendUrl = ResolveUrl("~/Scheduler/Backend"), .....
Answered: By default there is no URL associated with the event. You should handle the EventClick event and define the required action. For redirecting it to a specified url you can use something like this: <%=...
Answered: This is not a typical scenario and that makes the solution a bit complicated. What you need to do in the JavaScript is to call the server-side handler and then make sure the request has been complete...
Answered: Please try using DateTime.Date when setting the new StartDate value, e.g. protected override void OnCommand(CommandArgs e) { switch (e.Command) { case "navigate": DateTime start = (DateTime)e.Data["s...
Answered: After clearing the resources, it is necessary to call full update: dpsReservations.Update(CallBackUpdateType.Full); Please let me know if it didn't help.
Answered: These properties should actually hold the names of the fields/columns in the list: DataIdField = "RowNum" DataTextField = "Employee" DataStartField = "Annual_Leave_Day" DataEndField = "Annual_Leave_D...
Answered: This looks like an interference with a global CSS. Try to limit the global styles so they don't apply to the div with DayPilot. Check especially table and td styles in the global stylesheet.
Answered: Ok, I've found a solution. I overwrite the function in the document.ready. Example: $(document).ready(function () { dpCalendar.afterRender = function () { afterRenderCallback(); } });
Hello, how do you localize the dates with the mvc release of daypilot scheduler? I have tried setting Thread.CurrentThread.CurrentUICulture and Thread.CurrentThread.CurrentCulture. It's a multilangua...
Hi, is it possible to show the header text (month and year) always in the visible area, not in the middle of month (of course always in the correct area/month)? During scrolling it is often difficult...
Hi, I am using the right click to change my project status: "@Html.DayPilotMenu("dpsMenu", dpsm);". It's work fine, but now I want to change (or reload) a partialView I use in the same page and I can...
Answered: Hi all, I solved the issue here : I just added the line case JsonType.Array: return data[0].ToString (); default: at the end of the method, I regenerated the dll and it worked well... Strange that th...
Answered: You can disable the progressive event rendering by using the following switch in the config: DynamicEventRendering = DynamicEventRenderingType.Disabled It will behave like this demo (WebForms): http:...
Answered: You can customize the header strings by overriding OnBeforeTimeHeader method. Just set e.InnerHtml as needed: protected override void OnBeforeTimeHeaderRender(BeforeTimeHeaderRenderArgs e) { if (e.Is...
Answered: You need to handle TimeRangeSelected event manually: TimeRangeSelectedHandling = TimeRangeSelectedHandlingType.JavaScript, TimeRangeSelectedJavaScript = "yourHandler(start, end);" If you want to upda...
I have a context menu item that calls the following jscript function to remove an event function removeEvent(tgt) { //$.ajaxSetup({ cache: false }); // must turn caching off to ensure json method is ...
By default (I guess) the scheduler is displaying the date in the header only at the center. So If I scroll too far over left or right the date is not displayed. Is there a way to make the date displa...
Hi All Is anyone processing the questions posted on the forums? I posted a question on 26/11 but have had no response, looks like same situation for other unanswered questions. I'm evaluating the pro...
From the code below is t possible to identify why the row lines do not match when the scheduler is rendered. The size of the event row is not matching the size of the row header. Also, the scheduler ...
I am using the 7.1.5463.1 version of DayPilot.Web.Mvc.dll I am using the scripts from 11/20/2012 I have created a sample application to demonstrate the behavior, but it is too big to upload. When sel...
Answered: Please see here: http://forums.daypilot.org/Topic.aspx/1737/am-pm-incorrect-on-event-header-with-clock12hours-setting The fix will be included in the next release. You can fix it in Calendar.js by mo...