search envelope-o feed check
Home Unanswered Active Tags New Question

Questions Tagged how-to

Change Calendar Data based on Dropdown

Answered: In ASP.NET MVC you can request a server-side refresh using Command event handler. 1. Store the filter (the selected user) in the clientState property and invoke the Command event handler: var selec...

Event Move / Resize Refresh Slow

Answered: You can switch to "Notify" event handling to make it faster. If you use EventResizeHandling = CallBack the sequence is as follows: 1. The user finishes resizing. 2. The calendar/scheduler sends a req...

Example of storing recurring events as separate records.. please

Answered: Recurrence can get very, very complex. Don't expect any easy solution here. Just a lot of work. You can follow these steps: 1. store the original event with the rule in a special DB field 2. generate...

Create event in Scheduler (javascript)

Answered: Take a look at this tutorial: http://code.daypilot.org/72248/html5-scheduler-and-modal-dialog-jquery It shows how to use the modal dialog to add events to the Scheduler.

How do I delete the event from the database?

Answered: You need to call the server using an AJAX call, like this: <div id="dp"></div> <script type="text/javascript"> var dp = new DayPilot.Calendar("dp"); dp.eventDeleteHandling = "Update"; d...

DaypilotMonth event color change

Answered: You can set custom event background color using BeforeEventRender event handler: http://doc.daypilot.org/month/event-customization/

Does recurring events support "every third monday of the month"?

Answered: Unfortunately, this rule is not supported using the built-in recurrence mechanism at this moment.

Cannot implicitly convert type 'string' to 'DayPilot.Web.Mvc.Events.Gantt.RowClickHandlingType'

Answered: There is now a new guide on row selecting available in the documentation: http://doc.daypilot.org/gantt/row-selecting/ The latest sandbox build (8.1.5816) fixes a few related issues (such as the miss...

Display Popup with custom text in "header" of DayPilot Control

Answered: You can assign just one default bubble for each of the object types (BubbleEvent, BubbleCell, BubbleResource). You can also invoke the bubble manually using JavaScript like this: DayPilotBubble contr...

TimeHeader fontSize

Answered: Since build 8.1.3485 you can apply custom CSS class to individual time header cells (e.g. depending on the time header level) using BeforeTimeHeaderRender event. You can download the latest build in ...

angular ctrlAs

Answered: The latest sandbox version (8.2.2038) now fully supports controllerAs syntax: <div ng-app="main" ng-controller="SchedulerCtrl as ctrl" > <daypilot-scheduler id="dp" config=...

Context menu and icon

Answered: Yes, you can specify the icon using "Image" attribute of <MenuItem> tag: <daypilot:daypilotmenu id="DayPilotMenu1" runat="server" CssClassPrefix="menu_default" ShowMenuTitle="true"> <DayPilot:Me...

My webpage gets laggy after a few hours when using Daypilot(trial) scheduler

Answered: Most likely it is an increasing memory consumption that is slowing the page down. A few hints: 1. Make sure that you have DayPilot Pro version 8.1.1969 or later (http://javascript.daypilot.org/daypil...

Events in a same cell

Answered: You can do this using UseEventBoxes=Never option: http://doc.daypilot.org/scheduler/exact-event-duration/ Just note that this is not DayPilot Lite, but DayPilot Pro. I'm removing the "lite" tag.

how to apply css to scheduler

Answered: You should apply the theme using Theme property of the <DayPilot:DayPilotScheduler> tag like this: <DayPilot:DayPilotScheduler Theme="scheduler_8" ... /> Please note that you need to inc...

Hide TimeHeaders with Java-API

Answered: It looks like a bug. Normally, you should be able to hide the time header using getTimeHeaders().clear(). Please let me check the problem. You can also try to set the header height to 0 as a workarou...

Backend Database

Answered: The format of the array items is described here: http://api.daypilot.org/daypilot-event-data/ See also the following tutorial, it includes PHP and ASP.NET MVC versions of the project: http://code.day...

how to show tooltip or wordwrap an event for scheduler.

how to show tooltip or wordwrap an event for scheduler.I am using nuget package of daypilot version 5.0.303.0

How To Lock The Header Line When Scrolling Down

Answered: Please take a look at the HeightSpec property options: http://doc.daypilot.org/scheduler/height/

Appoinments are not syncing in daypilot scheduler

Answered: If you load the data from the same source and update the source correctly both instances should display the same data. If you want to force an update from the client side you can use dp.commandCallBa...

HIde empty cells

Answered: 1. In the Scheduler (http://javascript.daypilot.org/scheduler/), you have the following options: (1.A) X-Axis (Time) You can hide certain time periods. You can do it either using onIncludeCell (which...

Erreor ASP.net Dayploit.dll : Impossible to find entry point in DLL dile"...\dayploit.dll"

Answered: As far as I can tell you can get this error if you create a DLL in C++ and use it in a C#/VB project and the functions are not exported properly. However, this is not the case of DayPilot which is wr...

Binding Datatable

Answered: The order of the resources (rows) follows the order of items in the Resources collection: http://doc.daypilot.org/scheduler/resource-loading/ The events are sorted automatically using a rule correspo...

Export Image or PDF in Javascript

Answered: The PNG image export is in the works and it will be available in the next release (8.2) - in a few weeks. You can find a preview of the implementation in the sandbox: http://javascript.daypilot.org/s...

Time range selection in schedular has a delay when using touch rather than mouse

Answered: This is by design - starting the time range selecting immediately it would prevent grid scrolling. You can configure the delay using tapAndHoldTimeout (the default value is 300ms): http://api.daypilo...

How to customize X-Axis

Answered: 1. In the Lite version, e.DataItem is only used for ViewType="Gantt". In that case, it stores the event source object (after calling DataBind()). In other modes e.DataItem.Source is null. In the Pro ...

How do I change the color of individual row header cells?

Answered: In the latest build (8.1.2007) the resource.columns[] array supports .backColor and .cssClass properties (in addition to .html). Example: dp.resources = [ { name: "Room 101", id: "101", columns: [{ht...

How to set the scheduler timeline view?

Answered: You can set the number of visible days using Days property. Example: <DayPilot:DayPilotScheduler Days="10" ... />

Incompatible Client Script Version

Answered: It looks like an old DayPilot.Mvc.dll is cached somewhere. The latest version of DayPilot.Mvc.dll (8.1.5813) works with client script version 1944. Client script version 707 is used by build 7.7.5654.

Custom Time Header and Tooltip in Scheduler

Answered: You can force a reload of the scheduler by calling .update(): http://api.daypilot.org/daypilot-scheduler-update/ With the progressive rendering options enabled (they are enabled by default) it is a r...
Previous Questions 1711-1740 of 3096 Next