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 ...
Answered: {0} should get replaced with the DataValueField value (EventID in your case). See the following code snippets: DayPilotScheduler.cs string val = DataBinder.GetPropertyValue(dataItem, DataValueField, ...
Answered: Yes, this can be implemented as part of the server-side logic. However, there is no way to restrict time range selecting individually per resource on the client side.
Answered: This url shows a demo for the Java version ( http://java.daypilot.org/ ): http://java.daypilot.org/demo/Scheduler/ There is a bug in version 1.1.183. It's already fixed in the latest sandbox build: h...
Answered: You can do it in the .aspx file: <DayPilot:DayPilotScheduler ID="DayPilotScheduler1" runat="server" .... > <Separators> <DayPilot:Separator Color="green" Location="02/01/2008 12:00:00" /> <DayPilot:S...
Answered: Please check for possible typos, the method is there and this example should work fine: // Red separator with 50% opacity placed at the current day with width equal to CellWidth, shown above events D...
Answered: This DLL is only required for some of the tutorials. http://www.daypilot.org/tutorials.html It's included in the Bin directory, not App_Data directory. You can also download it here: http://sqlite.ph...
Hi! I am working on a school project ( Hotel booking system ) it is a MVC3 razor project, and i am trying to implement daypilot scheduler into it. i managed to get the resources (rooms) loaded from t...
Answered: All the classes mentioned in the documentation should be working fine: alldayevent (all-day event box) event (event box) cellbackground (time cell) colheader (column header cell) alldayheader (all-da...
Answered: At this moment, the Scheduler ( http://www.daypilot.org/scheduler.html ) is only able to show two rows in the time header (X axis). The size of the cells in the first row can be set using CellGroupBy...
Answered: It is necessary to update the Navigator using a separate request called from DayPilotCalendar.AfterRenderJavaScript. AfterRenderJavaScript="dpn.visibleRangeChangedCallBack();" See also: http://kb.day...
I could not find any code in the forums building a tree from the database using id, parentid. (So I had to think myself :-( Here is how I did it. private void loadResources() { SqlDataAdapter da = ne...
Answered: You should only add one row for this resource to the Resources collection: DayPilotScheduler2.Resources.Add("LJ10", "LJ10") You should be able to list the resources using an SQL query similar to this...
Answered: Thanks for the update. The hover effect is defined using the following classes (see Demo/Themes/themes.css): .menu_main a span { display: block; height: 20px; line-height: 20px; width: 150px; overflo...
Answered: You need to customize the EventRightClickJavaScript code to do both actions: EventRightClickJavaScript="select(e)" function select(e) { e.eventSelect(e); menu.show(e); } Where menu is the ClientObjec...
I've followed the tutorial and added an event handler and set event move handling like so: EventMoveHandling="CallBack" OnEventMove="DayPilotCalendar1_EventMove" but whenever I load the page with the...
Answered: You can try to clear the ASP.NET temporary files folder: http://codebetter.com/brendantompkins/2006/11/15/fix-for-asp-net-could-not-load-file-or-assembly-app_web-error/ See also here: http://forums.a...
Answered: Please check the following guide: http://kb.daypilot.org/101644/events-not-showing-up-in-the-scheduler/ The most important thing to check is that the resource id (Resource.Value) matches the resource...
Answered: The JavaScript handling is a bit different in the Lite version. You should replace the code with something like this: EventClickJavaScript="alert({0});" The Lite edition doesn't use any JavaScript ob...
Question: Can the monthly/daily/weekly view be changed so that an entry on a calendar date reflects a drop down box instead of a free text box for 'name'? The data element in the EVENT database is ca...
Answered: The week number will be displayed in the first header row if you use dps.cellGroupBy = 'Week'; You can always override the onBeforeTimeHeaderRender() to customize the header HTML: @Override public vo...
Hello, I am interested if anyone did something like this before: I am currently using a CellGroupBy="Week", so in the Header I have Weeks + Month and Days coresponding to it, but I would like to have...
Answered: You can use updateHeight() on the client side: dps.updateHeight(); See also: * http://api.daypilot.org/daypilot-scheduler-updateheight/ This only works correctly in build 6.6.2339 an later ( http://w...
Hi. I downloaded the new 6.5 SP1 version and noticed that my postbacks on contextmenues stopped working. Do I have to make som new settings to get it working or am I missing something. I am using web...
Answered: This should be implemented as an extra layer of logic. You should keep the main event data in the database separate from the visible chunks (shifts) that will be passed to DayPilot and displayed. Eac...
Answered: If the lessons were always inside a CellGroupBy unit (e.g. an hour), you could use smaller units for time cells (e.g. CellDuration=15) and hide some of them: http://www.daypilot.org/scheduler-hiding-...
Answered: I guess the problem is that the DataResourceField value doesn't match the Resource.Value. It must match exactly, i.e. the same case, no extra spaces, etc. See a general explanation for the Pro editio...