Questions Tagged how-to
Grouping Support
Answered: > Layer Multiple events: Group calendar view for multiple resources. Two options are available: 1. Resources in columns (Calendar control) http://mvc.daypilot.org/demo/Calendar/Resources 2. Resources...
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...
Cellduration for scheduler 1 day only
Answered: its ok i set the end date as a date variable and used date.adddays(-1) on the end date
How to add datatags to event bubble
i was trying to populate datatag fields in the event bubble but could not find any answer so i came up with my own hope it helps some one in future this is done server side when you hover above an ev...
How to show Event Calendar from jquery
Answered: Please see the doc for jQuery calendar plugin: http://doc.daypilot.org/calendar/jquery/ Your example would look like this:
<link type="text/css" rel="stylesheet" href="themes/calendar_white.css" />...
getting the column id via context menu javascript
Answered: Here is an example of a context menu used for time range selection:
<DayPilot:DayPilotMenu ID="DayPilotMenuSelection" runat="server" CssClassPrefix="menu_default">
<DayPilot:MenuItem A...
Clear all the events from the calendar
Answered: In the Lite version, there is no client-side API to do this. The only way is to look for event <div> elements using jQuery and delete them.
Shoeing time only form 9 AM
Answered: In the Calendar, you can change the business hours using BusinessBeginsHour and BusinessEndsHour: http://doc.daypilot.org/calendar/business-hours/ You can also change the HeightSpec value to show ful...
Show diferent intervals between one hour to another
Answered: You can use TimeHeaderCellDuration property to customize the time header cell size (Calendar): http://doc.daypilot.org/calendar/time-header-cell-duration/ OnBeforeTimeHeaderRender method can be used ...
Create event
Hi, How do I create an event in the lite version. There doesn't seem to be any tutorials for novices. Is there any walk through's out there? I've opened the demo in visual studio 2008 and when I clic...
can't bind to DayPilotMonth
Answered: Please check this troubleshooting guide for loading events in the Scheduler: http://kb.daypilot.org/101644/events-not-showing-up-in-the-scheduler/ See also the doc on loading events: http://doc.daypi...
Highlight Events in Navigator
Answered: The documentation page is now updated with a MVC howto: http://doc.daypilot.org/navigator/highlighting-busy-days/ You need DayPilot Pro for ASP.NET MVC 7.3 or higher.
How to delete event in DayPilot Lite Calendar
Answered: To refresh the calendar (Lite), you need to place it inside an UpdatePanel and call UpdatePanel.Update().
Recurrent resource's event problem
Hi, I have a scheduler with a hierarchical resource tree. In this tree I have some recurrent resources (with the same ID). At the moment the recurrent resource's events appear only at the first occur...
AfterRenderJavaScript missing in MVC
Answered: It's now available in the latest sandbox build (7.5.5595): http://mvc.daypilot.org/sandbox/ It will be included in the next release.
Tutorials
Answered: The tutorials which include DayPilot Lite are licensed under Apache Software License 2.0 and can be used for free. The tutorials which include DayPilot Pro are licensed for evaluation purposes only. ...
How to manually resize the scheduler (and calendar) vertically on initial page load
Answered: There are two options: Use HeightSpec="Parent100Pct" and let the scheduler adjust its height according to the parent element automatically (see http://doc.daypilot.org/scheduler/100-pct-height/). It ...
Fixed-width events
Is it possible to display a day-view with fixed width events - i.e. that don't resize to the whole day width?
how to customize navigator's date format?
Hello, now dateformat of date in navigator is like "September 2013". i want to change this to "yyyy-MM(2013-09)". it seems i can do with DayPilot.Locale, but i don't know how to. thank you
Event Color customizing issue
Hi, i set CssClassPrefix="calendar_blue" and CssOnly="true" and im trying event color looks difference when they have each other class name. so what i did is... i made some classes,(name is color01~2...
Disable User Adding Events to a Row
Hello, I am trying to stop users adding new events to certain rows in the Daypilot Scheduler. Is there a way to disable adding events to certain rows or Resources? Thanks
How to input x button in event when i use CssClassPrefix?
Answered: The delete icon is not supported in the CssOnly mode. It is replaced by more universal system of "active areas". You can add the delete button using BeforeEventRender:
protected void DayPilotCalend...
Adjusting the event starting position in the scheduler
Answered: You can configure this behavior using UseEventBoxes property. UseEventBoxes = UseEventBoxesType.Never will do exactly what you need.
Is there a way to await an event (commandCallBack)?
Answered: You can use AfterRender client-side handler (AfterRenderJavaScript property in MVC DayPilotSchedulerConfig). This script will get called after every update (including the initial rendering). You can ...
empty Json
I followed this tut to make navigation in calendar using scheduler code.daypilot.org/33944/event-calendar-day-week-month-for-asp-net-mvc I have done all exactly the same when I click on calendar on O...
EventClickHandling="PostBack" how to get value in c#
Answered: protected void DayPilotCalendar1_EventClick(object sender, DayPilot.Web.Ui.Events.EventClickEventArgs e) { txtValue.Text = e.Value; }
Dynamic cellduration/cellwidth/time header
Answered: This is not yet possible. It sounds good, let me do a few tests.
How to get parent resource id
Hi, I'm using daypilot scheduier. Dynamically i'm creating the resource tree . My code is like below Resource res = new Resource(StoreName, StoreID); DayPilotScheduler1.Resources.Add(res); res.Childr...
Add a textbox on each row of Scheduler
Answered: You can add the textbox by setting custom InnerHTML to something like "<input type='text' id='myid' />'. You can access it through Resources collection or using BeforeResHeaderRender event (e.Columns...