Questions Tagged how-to
Mak the Event a clickable Link
Answered: Allan, The "e" object is not available in the Lite edition. You should do it like this: EventClickJavaScript="window.location.href = 'CourseDetails.aspx?CourseID={0}';" "{0}" will be replaced with th...
How do I change the colors of the event headers in version 7?
Answered: Duration bars are now (7.0.2647) supported in the CssOnly mode as well: http://www.daypilot.org/sandbox/Scheduler/ThemeGreenWithBar.aspx They are fully stylable. An example from scheduler_green.css t...
Right click DayPilotMenu not open in IE9
I am new to day pilot scheular, I am evaluating day pilot light version. I have added following events, to view the context menu in time range section. It work fine with IE8 and FF. but. Nothing happ...
When I resize an event in the scheduler while the mouse is over the event I trigger the edit box
Answered: Fixed in Version 7 :)
Recurrence repeats
Is there a way to modify the repeat action to mirror the repeat period context? i.e. if for example I select weeekly Mon / Tue and set repeat 2 times I get 3 events in the calendar, mon, tue and mon....
Year View in Scheduler Lite
Answered: Column groups are only supported in the Pro version (CellGroupBy property for one group level and TimeHeaders for multiple group levels, see also http://www.daypilot.org/daypilot-pro-for-asp-net-webf...
Month / DataResourceField Property
Answered: You're right. This property is there because EventMoveEventArgs is shared by all controls. This is not the best design decision but the API change would break the existing implementations. The 7.0 re...
Change text content of an event client side?
Answered: There is a set of methods that allow you to set the client-side properties:
e.client.innerHTML("New HTML");
e.client.cssClass("newClass");
e.client.toolTip("New ToolTip");
e.client.backColor("#d...
Problem in export scheduler event data
Answered: You should increase the Width property value during image export or set it to "100%" in order to show the full range (from StartDate to EndDate).
Scheduler Hide Event Times
Answered: The latest sandbox build supports ShowEventStartEnd property with a default value set to false: http://www.daypilot.org/sandbox/Scheduler/ That means the event times are no longer added by default. Y...
Header of Scheduler
Answered: Please see here, this feature is new in DayPilot Pro for ASP.NET WebForms 6.9: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-6-9.html
source does not compile
Answered: It's now fixed in the latest release: http://www.daypilot.org/daypilot-lite-for-asp-net-webforms-3-1-sp2.html
Refresh single scheduler event from javascript
Answered: Of course I found the answer 10 minutes after posting: use commandCallBack() to initiate the refresh
Select all row with Time Range Selection
Answered: Unfortunately, this is not possible at this moment.
Hebrew Calendar
Answered: All the controls allow to override the headers with custom text/html. The internal calculations need to be based on the Gregorian calendar but you should be able to convert each date displayed to Heb...
TutorialDayPilotMonthSql.zip
Answered: As per our discussion, it seems that the issue has been resolved. I'm not able to reproduce this issue either.
Custom event rendering for VB
Answered: Martyn, Please see here: http://www.daypilot.org/scheduler-tutorial-hotel.html Section "Event colors indicating the reservation phase".
A control with ID 'UpdateTimer' could not be found for the trigger in UpdatePanel 'TimedPanel'.
Answered: This is not enough information to give you an answer. It depends on the location of the UpdateTimer. A few hints: 1. Please see: http://stackoverflow.com/questions/6667398/a-control-with-id-could-not...
How to wrap detail text on Calendar Control?
Answered: In the Calendar control (http://www.daypilot.org/calendar.html) the text should be wrapped automatically. You can force a new line by inserting "<br/>" (use e.InnerHTML in BeforeEventRender event han...
include a textbox value in the postback when the cursor is still in the textbox
Answered: I fixed this by using TimeRangeSelectedHandling="PostBack" instead of CallBack Thanks for a great scheduler control!
How to add resources columns to the calendar
Answered: Hi Martyn, In the Calendar control (http://www.daypilot.org/calendar.html) you need to use Columns property:
DayPilotCalendar.Columns.Add(name, id);
You can also define custom date for each colum...
Can't be able to select cell when event assign to cell.
Answered: You can control the row/column size and margin using the following properties: 1. Calendar (http://www.daypilot.org/calendar.html) ColumnMarginRight http://www.daypilot.org/calendar-column-margin.htm...
How to set the resource (scrollY) position.
Answered: On the server side, ScrollY and ScrollX properties are available. They hold the scroll position in pixels and you can update them (don't forget to call Update()). On the client side, you can read the...
How change header in schedular
Answered: Yes, you can do it using BeforeTimeHeaderRender event. See also here: http://www.daypilot.org/daypilotscheduler-header-date-time-format.html
EventStart/End display on DayPilotMonth with ext overlapping?
Answered: Please try to add this: EventTextLayer="Top"
Error - The Request must start with JSON string
Answered: You will see this error if you try to open the backend URL in a browser. In order to show the Calendar you need two URLs (corresponding to two controller actions): 1. The first one will show a view w...
Simple Database Question
Answered: Hi brandon, Yes, you can load the data directly to Events property. It accepts any IEnumerable. You only need to map the object properties using DataIdField, DataStartField, etc. See an example (usin...
How do I empty a DayPilot calendar please?
Answered: You can use an empty list as a DataSource:
DayPilotCalendar1.DataSource = new ArrayList();
DayPilotCalendar1.DataBind();
This will display an empty calendar without any events.
How do I collapse all day events into single row?
Answered: You will have all these features if you upgrade to the Pro version: http://www.daypilot.org/buy.html
How do I disable all pop-ups?
Answered: Set EventClickHandling="Disabled" to deactivate event click handling and TimeRangeSelectedHandling="Disabled" to deactivate background cell click handling. These properties are new (modified) in DayP...