Active Questions
How to change the code to display varchar and date type data instead of two datetime type for the daypilot calendar?
Answered: If you want to customize the text that is displayed in the event box you should use the BeforeEventRender event.
protected void DayPilotCalendar1_BeforeEventRender(object sender, BeforeEventRenderE...
Changing start date of event
Answered: Changes of the key properties (id, start, end, resource, text) doesn't have an immediate effect because it would cause problems if you modified events that are already visible in the calendar/schedul...
Event is displayed twice (Dynamic Loading)
Answered: This bug is fixed now in build 7.7.781. Please see the sandbox: http://javascript.daypilot.org/sandbox/
Show html bubble on event click in Scheduler
Answered: Using DayPilot Pro 7.7.787 and later (see the sandbox at http://javascript.daypilot.org/sandbox/) you can do this:
dp.onEventClicked = function(args) {
new DayPilot.Bubble().showHtml("...
Strange behavior of DayPilot.Locale datePattern
Answered: Please try version 7.7.759 from the sandbox: http://javascript.daypilot.org/sandbox/ "ddd" pattern string is not implemented in prior versions.
asyncpostbacktrigger with daypilot navigator
Answered: The navigator fires two events: 1. TimeRangeSelected when you click a date 2. VisibleRangeChanged when you click "next" or "previous" links at the top You need to set TimeRangeSelectedHandling to "Po...
Deleting event
Answered: Yes, there is no built-in onEventDelete event. You can call dp.events.remove(e) and then notify the server:
dp.events.remove(e);
$.post("delete", { e: e.id() }, function() {
dp.message("D...
Change Navigator Week When Event Clicked in Month
Answered: You can change the navigator date using .select(date) method: http://api.daypilot.org/daypilot-navigator-select/ You can call it from the EventClickJavaScript handler:
@Html.DayPilotMonth("dpm", ne...
How can I get the Scheduler to show that my event is longer than displayed in the current view?
Answered: This is not yet supported but I'm adding it to the wishlist.
Daypilot lite 4.1 is free
Answered: Yes, you can download it here: http://www.daypilot.org/download.html
Display custom string in time headers
Answered: You can customize the header HTML using onBeforeTimeHeaderRender event handler:
dp.onBeforeTimeHeaderRender = function(args) {
if (args.header.level === 1) {
args.header.html = args.header....
Use jQuery datePicker to select the date
Answered: As soon as you know the selected date, you should send it to the server using commandCallBack() method in order to change the date and load the new event set. See ASP.NET MVC/Example 1 here: http://d...
Day Pilot Event Bubble Bug When using Odbc datatables
hi i am using an sql table for my event data with additional data tags and populating an event Bubble on hover with Protected Sub EventBubble1_RenderEventBubble(ByVal sender As Object, ByVal e As Day...
day pilot displaying all three calendar?????
when ever i m clicking on toolbar command event is not firing and when page is open all three calendar that is daycalendar,weekcalendar and monthcalendar are visible????? y is it so ny help???
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...
Zooming in JS-Version?
Answered: The zooming implementation in the ASP.NET demo (http://www.daypilot.org/demo/Scheduler/Zooming.aspx) is quite simple: It overrides the default time header cell text using BeforeTimeHeaderRender event...
item duplicates
Answered: Please make sure that your resources have unique IDs and that the correct resource ID is specified for the event (see DataResourceField property). The event will be displayed in all rows where the re...
Fix the upper Resource?
Answered: This would be a nice feature but it's not quite easy to implement it... I'm adding it to the wishlist.
Scheduler month header should always be visible
Answered: This is not yet implemented but it's under development. It should become available in one of the future releases.
Scheduler min height + border styling
Answered: Fat lines between the resources ...did you implemented it yet?! I want to have a black border around "few" resources. thanks, daniel