Questions Tagged how-to
Scheduler Days View Overlapping events over day
Answered: The event order is resolved for each row separately. However, you can override the default order using custom event sorting: http://doc.daypilot.org/scheduler/event-sorting/
JSON error while dragging and droping an event
Answered: This is an old version that is no longer supported. Can you please give it a try with the latest release? http://www.daypilot.org/try.html Let me know if the problem persists.
Event Creation in dayPilot Pro
Hello Everybody, I am trying to create events in DayPilot Pro Demo but I am not able to create that as I can in "DayPilotLite". In DayPilotLite we can go to a new page when we click on TimeCell We ar...
DayPilot with IE 11
Answered: It's a problem of .NET not detecting IE 11 properly. There is a hotfix available (this one is for .NET Framework 4.0): http://support.microsoft.com/kb/2836939/en-us You can also add your own browser ...
first day of week
Answered: Please see here: Calendar http://doc.daypilot.org/calendar/first-day-of-week/ Month http://doc.daypilot.org/month/first-day-of-week/ Scheduler http://doc.daypilot.org/scheduler/first-day-of-week/
Copy and paste issues in scheduler
Hi, I have now solved the problem I had when copying and pasting events. I still have a few issues though that I would appreciate some help on. I right click on an event and copy (this bit works). Wh...
Object expected when pasting an event in Scheduler
Answered: It looks like you might be missing the DayPilot object reference when calling commandCallBack:
v.items = [{'text':'Paste', 'onclick':function() { var e = this.source; var command = this.item.comman...
ASP.net and MySql Support
I am trying to decide on a Scheduler Control addon for our website but our current Backend Database is MySQL. I have searched the forums and googled ever combination of DayPilot and MySQL but cannot ...
Recurrence Issue
I have an event in a database that needs to be set as recurring on the calendar. Currently I have a field called 'recurr' in the sql query for the data that is set to 1 for this event. How can I tell...
Duration Bar - Scheduler 7.6
Answered: Never mind. Just a .css difference between old and new. Set colour of duration bar in the style sheet, and removed "e.DurationBarColor = "#7cc144";" and it is now working properly.
scheduler - can i add more columsn on the resource side of the grid
Hi In the scheduler control can I add more columns on the resource side of the grid. Gary Goodwin
Only show weeks
We're trying to implement the DayScheduler in our booking system. In the system, we only allow friday-friday bookings. Is it possible only to show cells for weeknumbers, or when one pick a date in a ...
Changing Scheduler.CellGroupBy on runtime
Answered: Fixed it by adding "if (level == 0) groupBy = _scheduler.CellGroupBy;" to function "private TimeHeaderRow PrepareGroupline(int level)" in SchedulerTimeHeader.cs after line "GroupBy groupBy = _schedul...
Schedule Resources based on table
Answered: Yes, you can access Resources collection in the code behind. See a hint here (it's the doc for the Pro version but the mechanism is the same): http://doc.daypilot.org/scheduler/resource-loading/
EventClick, EventRightClick and all other mouse action handlers do not pass the event object (window.event in IE) to the javascript handler
Answered: I understand. Let me check how to do this.
Change color onclick through callback
Answered: You would have to store the value in the database or somewhere else in the WebForms, request a reload using Update() and set the new color in BeforeEventRender event handler. However, you can do it d...
Permissions on Scheduler
Answered: The best way to do this is to set EventMoveHandling and EventResizeHandling valu depending on the permission check. The default value is "Disabled" which will work for read-only scenarios. If the use...
How to send custom data to backend
Answered: Hi Isaac, You should be able to pass custom data to the server using .clientState property: http://doc.daypilot.org/calendar/clientstate/ ClientState is persisted until the page is refreshed and it i...
DayPilot Month - RTL direction (Sunday start from right to left)
Answered: Unfortunately RTL direction is only implemented for the Calendar control at the moment: http://doc.daypilot.org/calendar/rtl/
Bubble in ajaxtoolkit modalpopup
Hi, i use daypilot calendar in an ajaxtoolkit modalpopup extender and in this case the bubble are not dispayed. Did you have any idea to showing bubble Thanks
Column Header Height
Hi, i use calendar ressouce view and i would like to have different height in different columns header level. HeaderHeight property affect all level. I have custom html only for the first level (date...
Custom content in scheduler event DayPilotBubble
Answered: There are two options: 1. You can define the bubble HTML in BeforeEventRender event handler. This will store the bubble HTML with the event (it will be static). No server-side call will be required w...
Calendar.BeforeHeaderRenderEventArgs precision
Answered: 1. This has been changed recently. The BeforeHeaderRender is not called for the corner anymore. You can modify it directly using .CornerHtml property:
DayPilotCalendar1.CornerHtml = DayPilotCalenda...
Use Theme file and event height
Answered: The default CSS themes (white, green, transparent, etc.) and themes created using http://themes.daypilot.org should not affect the event dimensions. When adjusting the theme manually please remember ...
Create new Event
Answered: You can create a new event using a modal dialog that lets you enter the event details (name, start, end, etc.): http://doc.daypilot.org/month/event-creating/ See also the tutorials at http://code.day...
Refresh page after postback delete
Answered: You would have to do a manual refresh using commandCallBack(). See also here: http://doc.daypilot.org/scheduler/commandcallback/ But it is better to use dps.eventMenuClickCallBack() instead of PageMe...
Get ItemSource in BeforeEventRenderEventArgs after Postback
Answered: The e.DataItem is only available in BeforeEventRender on the server side. For additional data that need to be passed with the event through all its lifecycle you should use tag fields (*DataTagFields...
dynamuic dates for start and end of daypilotmonth
Answered: Please see the documentation on changing the date using Navigator here: http://doc.daypilot.org/month/navigator/
Creating EventClick on a Dynamic Component Daypilot
Answered: All user actions (clicking, moving, resizing....) are disabled by default. You need to set EventClickHandling to either CallBack or PostBack in order to activate the server-side event handler. Exampl...