All Questions
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 ...
Day Pilot Scheduler - How can I pass the DataValueField to a javascript function on EventClickJavascript event ?
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, DataValueFie...
Small IE layout issue with Calendar
Answered: Thanks, Richard. It's fixed now in build 6.6.2364. You can download and test it in the sandbox: http://www.daypilot.org/sandbox/Calendar/ScrollingArea.aspx See also: http://www.daypilot.org/daypilot-...
DayPilot Scheduler doesn't repaint itself after an AJAX post because Telerik RadAjaxPanel.
Answered: Drawing the control in an UpdatePanel requires special handling. In case of ASP.NET AJAX (standard part of ASP.NET since v3.5) DayPilot detects the presence of the library uses its special methods fo...
shift between the dates and times of resources
I just set up the scheduler and when I open firefox version 7 my page, I find myself with a lag. The dates of the resources do not fall in front of the dates. The concern is that it does not happen i...
Limit number of events per resource
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.
Day Pilot Scheduler(Asp.Net) - When does the day end (Event Resize)?
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: htt...
separator adding
Answered: You can do it in the .aspx file:
<DayPilot:DayPilotScheduler ID="DayPilotScheduler1" runat="server"
....
>
<Separators>
<DayPilot:Separator Color="green...
Separator not accepting more than 2 arguments
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...
DayPilotCalenda Can you have double double and single click events?
I am not able to capture the double click event. When I double click it is calling the EventClick.
Calendar stuck in loading
Hi... I am not sure this is a bug, but I have a DayPilotCalendar in an UpdatePanel and bound to an EntityDataSource. When I initially load the page, it appears correctly. When I change its StartDate ...
System.Data.SQLite.DLL is missing
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...
Daypilot scheduler lite used in mvc3 razor project
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...
Scheduler control broken in IE8
Answered: The root of this problem is that the height of the parent control is too small. This can happen for number of reasons: Older browsers (e.g. IE7) don't support position:absolute, bottom:0px for stretc...
How to knows all the default css property name of DayPilot Calendar?
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...
Multiple header to Columns
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 p...
JScript runtime error on postback when using an updatepanel
I am using an updatepanel around the DayPilot Scheduler. The scheduler performs a postback every minute to refresh the items on the schedule. If I am using the control i.e. scrolling, drilling throug...
Printed Text Quality with Numerous Events (Month)
Hi all, I was curious if anyone has suggestions for improving the printed quality of a month control that has a number of events. The user exports the calendar as a PNG and prints it to a single page...
Refresh data of navigator while calendar update
Answered: It is necessary to update the Navigator using a separate request called from DayPilotCalendar.AfterRenderJavaScript.
AfterRenderJavaScript="dpn.visibleRangeChangedCallBack();"
See also: http://kb...
Scheduler Week view - CellDuration: 10080 bug?
When using the DayPilot Scheduler in view mode Weekly (CellDuration: 10080, CellGroupBy = GroupByEnum.Week), I get a javascript error on the next line of code: this.drawTimeHeaderCell=function($p,$W)...
Resource Tree from Database
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...
invalid argument exception when unlocking machine
Hi, I keep getting an invalid argument exception when unlocking my machine if I have the scheduler open. The error happens in the following function: - this.updateHeight=function(){ if(this.nav.scrol...
Grouping Rows
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...
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...
Context menu hover css not working in IE8 quirks mode
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: 15...
Possible to move event labels on horizontal scroll in scheduler?
Answered: This is indeed quite difficult at this moment. But maybe the Bubble could help here, although I understand that it's not exactly what you were looking for. http://www.daypilot.org/bubble.html The Bub...
Day Pilot Calendar event selection on right click
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 ...
Date Columns widths off on Calendar - version 6.6.2346.1
The column headers appear to be a couple of pixels short, which misaligns the heading and creates a gray box on the right side of the headers.
Event Move
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...