Questions Tagged
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
Demo does not work, DayPilot / HideNonBusiness!
Answered: This is now fixed in the latest release: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-6-sp1.html This old mechanism of hiding columns using BeforeTimeHeaderRender event is no longer av...
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...
how to buy full version only for calender control
how to buy full version only for calender control . what is the exact cost
Scheduler Event Move with ctrl key : NullReferenceException
Answered: You need to change EventMoveHandling="CallBack" to EventMoveHandling="JavaScript". It's now added to the documentation: http://doc.daypilot.org/scheduler/event-copying/
onTimeRangeSelected(args) not passing values
Answered: The client-side event-handling API has two modes that can be switched using .api property: http://api.daypilot.org/daypilot-scheduler-api/ All DayPilot versions that include an integrated server-side...
Show Business Hours on Saturday using Javascript
Answered: Hi Patrick, In JavaScript you should use onIncludeCell event instead: http://doc.daypilot.org/scheduler/hiding-time-columns/ Example:
<div id="dp"></div>
<script type="text/javascript">
var dp ...
Theame
Answered: Yes. You can change the theme using CssClassPrefix property. Remember that you need to use CssOnly="true". See also: http://doc.daypilot.org/calendar/css-themes/
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/
Resource Header Click - JavaScript
Answered: The resource header details are accessible using "resource" variable: DayPilot Scheduler tag:
ResourceHeaderClickJavaScript="test(resource);"
JavaScript:
<script language="text/javascript">
f...
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...
RowHeaderColumn only vertical
Answered: It should be fixed now in version 7.6.2997. You can test it in the sandbox: http://www.daypilot.org/sandbox/Scheduler/RowHeaderColumns.aspx
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/
HeaderLevel no column defined
Hi, When column headerlevel is set to 2 and no column are defined throw an javascript error with cell.clientwidth cell is undefined i have a daypilot calendar in a modalpopup an i initialise it only ...
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...
dpScheduler.ShowBaseTimeHeader = false does not work when exporting
Answered: This looks like a bug. The ShowBaseTimeHeader will be deprecated in the next release (7.6). The time header rendering was changed significantly: 1. The time headers will be fully independent of the c...
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...
Scheduler getRow renamed to $68
Answered: This method was internal and is now hidden. You can use the following method to get information about a cell under certain position:
var cell = dps.cells.findByPixels(120, 1)[0];
var start = cell....