Questions Tagged
DayPilotMonth Calendar
Answered: DayPilotMonth inherits from System.Web.UI.WebControls.DataBoundControl which handles the DataSource processing. DayPilotMonth just reads the supplied items. It doesn't detect the actual DataSource ob...
Event rendering different on Chrome
Answered: If you don't use EventSortExpression it will be sorted using an equivalent of "start asc, end desc". If both event start and end are identical then the result is not guaranteed. It turns out that IE ...
Assign the column name to daypilotcalendar.eventBackColor in pro
Answered: You need to use BeforeEventRender event handler:
protected void DayPilotCalendar1_BeforeEventRender(object sender, BeforeEventRenderEventArgs e)
{
e.BackgroundColor = (string) e.DataItem["colo...
Clearing all the event of Daypilot
Answered: Server side:
DayPilotScheduler1.DataSource = null;
DayPilotScheduler1.DataBind();
DayPilotScheduler1.Update();
Client side:
dps.events.list = [];
dps.update();
Dynamic Event Loading with Dynamic Resource Tree Loading - Use both?
Answered: There was a bug which is fixed now in the latest sandbox build (7.4.2900): http://www.daypilot.org/sandbox/ Please let me know if the problem persists.
Right click event
Answered: Sorry about this one. Accidentally had eventRightClickHandling = "ContextMenu" below everything
Custom hover event
Answered: It's not implemented at the moment. It might appear in the 7.4 release but I can't promise it.
DayPilot Lite Schedular is Very Slow in IE 10
Answered: First, you should also check if it is the Scheduler and not your SELECT command that is causing the delay. DayPilot Scheduler Lite is not optimized to display a large number of events. You can try th...
Time on y-axis and Users on x-axis in daypilotscheduler
Answered: DayPilot Scheduler has resources/users on y axis and time on x axis by definition. It's not possible to switch the axes. You can use the Calendar switched to Resources mode (i.e. custom columns that ...
Add Columnb/Attributes
Answered: In BeforeEventRender event handler, you can reach the original data item using e.DataItem property:
e.DataItem["field1"] // field1
e.DataItem.Source // the original object
e.DataItem is access...
Bubble for Resources at Top and Bottom not working as it should in IE/Chrome.
Details attached in docx file.
Custom context menu when right-clicking on empty space in Scheduler
I am using Daypilot for ASP.NET MVC, specifically the Scheduler. I set the ContextMenuSelection property of the Scheduler to show a context menu when a user right-clicks on an empty space in the sche...
Hide all Time Headers in Scheduler
Answered: You can use the following workaround:
function afterRender(data, isCallBack) {
dps1.showBaseTimeHeader = false;
dps1.timeHeaders = [];
dps1.update();
}
And set AfterRenderJavaScri...
Display Back to Back Events in Scheduler
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...
How do I customize daypilot bubble animation.
Answered: You can turn it off using .Animated = false. It is not possible to provide custom animation at this moment.
Problems Migrating DayPilot Lite for ASP.NET MVC 1.3 SP1 (build 1.3.395)
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...
Scheduler - HeaderRow Start at 23 o`clock
Answered: Yes, it's possible. The StartDate must be set to the first day. You need to use ShowNonBusiness="false" option. Then you will be able to hide individual time columns using BeforeTimeHeaderRender even...
Can I show a context menu when the user right-clicks on an open space in the Scheduler?
Answered: Yes, this is possible - you need to assign the context menu to ContextMenuSelection:
<%= Html.DayPilotScheduler("dps", new DayPilotSchedulerConfig {
BackendUrl = ResolveUrl("~/Scheduler/Backend"...
daypilotcalendar for multiple users
Answered: If you want to show calendars for 30 or more users it is definitely better to switch to daypilot scheduler which displays the resources (people) on the vertical axis: http://www.daypilot.org/demo/Sch...
Define URL for Event
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:
...
100% Height for Scheduler (HeightSpec="Parent100Pct") not working
Answered: This probably means the height of the parent element is not set properly (at all). Please see also: http://kb.daypilot.org/22832/how-to-use-scheduler-with-100-height/ You can use fixed pixels:
heig...
Scheduler SetScrollX from JScript
Answered: In the Scheduler, you can do it using setScroll() method (in pixels): http://api.daypilot.org/daypilot-scheduler-setscroll/ Or using scrollTo() method (using a date):
var now = new DayPilot.Date(...
How to Refresh DayPilot Lite Scheduler after entering event
Answered: The only way to do it in the Lite version is to place the Scheduler inside an UpdatePanel and refresh the panel. It is demonstrated in this tutorial (not described in the tutorial text but it is used...
Scheduler: Multiple Tasks Per Row Where ViewMode=Gantt
Answered: The problem #1 can be solved by generating the rows manually (it's really simple) as demonstrated in the Gantt tutorial at http://code.daypilot.org/68118/gantt-chart-tutorial-asp-net-sql-server-c-vb-...
how to split an hour
Answered: In the Lite version the cell duration is fixed to 30 minutes. In the Pro version you can change it using CellDuration property (CellDuration=15).
Webmatrix
Answered: You can use Webmatrix but its editing and project management capabilities are limited. I would recommend trying Visual Studio Express for Web instead: http://www.microsoft.com/visualstudio/eng/produc...
horizontal display of calendar
Answered: When display calendar for multiple users you can choose one of the following views: 1. Resources on the vertical axis and time on the horizontal axis (Scheduler control): http://www.daypilot.org/demo...
Differnt colors for Gantt tasks
Answered: Some themes use a gradient event background defined using "background" CSS style (scheduler_white, scheduler_green). The e.BackgroundColor translated into an inline "background-color" and this proper...
Modal dialog seems to have a max height of 250?
Answered: The version of DayPilot.Modal that can be downloaded at code.daypilot.org [http://code.daypilot.org/81367/daypilot-modal] supports three properties: * height (the fixed height; the minimal height whe...
How do you use EventResizeJavaScript and similar with MVC
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...