Questions Tagged
Capture global mousedown/up event
I need to capture any mousedown and mouseup event fired on the scheduler. I've tried just adding an eventlistener to the entire dps container like this: $("#dps")[0].addEventListener("mousedown", fun...
Show more than one bubble at the same time
Answered: The bubble is designed to display just a single box at the same time. All previously displayed bubbles will be hidden when displaying a new one. Also, the bubble is hidden when you move the mouse out...
Insert a dropdown in datagrid
Answered: It is difficult to insert full-blown ASP.NET controls in the headers. However, there are two options: 1. Use the custom HTML (using BeforeResHeaderRender event handler) to insert HTML-based dropdown....
Execute javascript function after clicking ok button on event creation DayPilot Month.
Hello! My name is Roby. I'm using DayPilot Month Lite in my project. I need to trigger a javascript function after I click the OK Button into the event creation alert. My big questions (after reading...
Dynamic height of month calendar view events
Answered: Please see here: http://forums.daypilot.org/Topic.aspx/2238/set-event-hight-in-onbevoreeventrender
How to read anr write tags?
Answered: OK I solved it by myself. e.data.tag["key"] = value; to read: e.tag("key")
modal will not stay on top of web page!
Answered: Comment out the line 189 in daypilot-modal-2.1.js (http://code.daypilot.org/81367/daypilot-modal):
window.setTimeout(function() {
// This.hideDiv.onclick = function() { This.hide(); };
}, 500);...
Issues to preserve dataset on month view navigation changes
Answered: How do you implement the filter? The recommended way to is store the filter in .clientState and update the calendar using .commandCallBack().
$(document).ready(function() {
$("#dropdown").ch...
set event hight in OnBevoreEventRender
Answered: DayPilot Month uses the same event height for all events. You can set it using the CSS theme but it is still the global height. http://doc.daypilot.org/month/event-height/ Using a different height fo...
ModalPopupExtender does not popup
Answered: Please take a look at this tutorial: http://www.daypilot.org/tutorial-calendar-sqlserver.html You have to call pnlPopup.Show() from the code behind to display the modal popup. However, my advice is t...
modal border change cursor
hi! want to change the cursor when mouseover the border auf a modal popup. thanks
Intercept Modal close/hide
Hi! I use the Modal popup. I want to intercept the closing/hiding of the modal. I want to ask the User if he saved everything - after that the modal can be closed. If the user clicks "no" the modal s...
Event assigned to duplicated resource (scheduler)
Answered: If you use the same resource id then it will be displayed in both rows.
Scheduler: IE7 Script Error
Answered: Please note that IE 7 is not supported since the 7.7 release. Anyway, this issue is fixed now in build 7.7.3061. You can test and download it in the sandbox: http://www.daypilot.org/sandbox/Scheduler...
Calendar: "Unable to set property 'innerHTML' of undefined or null reference" in build 7.7.3054
Answered: Thanks for reporting the issue. It's fixed now in build 7.7.3058 (see the sandbox at http://www.daypilot.org/sandbox/). The fix will be included in the next release. The bug affected the CssOnly="fal...
Month.CellHeight
Answered: Please use MinCellHeight property instead: http://doc.daypilot.org/month/cell-height/ The DayPilot Month cell height is extended automatically to fit all the concurrent events.
Prevent Adjusting Start and Prevent End being Adjusted to less than certain date
Answered: At this moment there is no way to apply such limitations on the client side during the drag and drop operation but you can check the rules on the server side in the OnEventResize and/or OnEventMove o...
How can I make appointments be staked vice side by side in a week view?
Answered: Hi Steve: 1. You can try fixed column width: http://doc.daypilot.org/calendar/fixed-column-width/ This would be a quick solution. You can specify the column width in pixels. A horizontal scrollbar wi...
How to display modal dialog after button click
Answered: If you mean DayPilot.Modal (http://code.daypilot.org/81367/daypilot-modal) and a generic ASP.NET button you can try this:
<asp:Button id="Button1" runat="server" OnClientClick="new DayPilot.Modal...
can DayPilot Pro Business Edition work with ASP.Net 2.0?
Answered: DayPilot is compiled with .NET 2.0 and you can use it on IIS 6 with .NET Framework 2.0. Everything should work. Just note that most of the tutorials at http://code.daypilot.org are built using Visual...
Getting back additional data from calendarbackend
Answered: You can send custom data using Update() method: http://doc.daypilot.org/calendar/callback-update/ The data parameter will be passed to AfterRenderJavaScript. It is stored in CallBackData internally.
Is it possible to change hour height?
Answered: You can use the CellHeight property: http://doc.daypilot.org/calendar/cell-height/
Default Themes
Answered: They are now used in the theme designer for all new themes: http://themes.daypilot.org/ Just start a new one and download it.
Scheduler month header not always visible when DynamicLoading=true
Answered: This issue is fixed now in build 7.7.5657. You can test and download it in the sandbox: http://mvc.daypilot.org/sandbox/Scheduler/DynamicEventLoading Please let me know if there is any problem.
Get visible time range (scheduler)
Answered: Sorry, didn't see this: http://api.daypilot.org/daypilot-scheduler-getviewport/ dps.getViewPort().start and dps.getViewPort().end is what I was looking for.
Reload single event from database
Answered: If you want to refresh the events it is better to use .events.list array instead of .events.add() method. Adding events one by one using .events.add() works too but it is slower (it refreshes the sch...
BC30456: 'EventDetail_ItemUpdated' is not a member of 'ASP.web_app_daypilot_aspx'.
Answered: ok found it in the tutorial in the Default.aspx.vb file, my bad, thanks. Eunice
Can you define a Long Weekend?
Answered: You can use DayPilotNavigator.BeforeCellRender event handler to add a custom CSS class to a day cell. http://doc.daypilot.org/navigator/cell-customization/ Note that in version 7.7 the CssClass value...
Load Resource Tree from Database
Answered: You can use something like this: An example using DayPilot.request():
function loadResources() {
DayPilot.request("backend_resources.php", function(result) {
var data = eval("(" + result....