Questions Tagged how-to
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...
EventMoveHandling=javascript?
Answered: Kevin, You can try this:
EventMoveJavaScript="eventMove(e.start(), newEnd)"
In this event handler the following variables are available: * e - DayPilot.Event object * newStart - DayPilot.Date obj...
Culture/Localization support for DayPilot MVC scheduler
Answered: At this moment it uses the culture of the current thread. I.e. you can set it globally in web.config:
<configuration>
<system.web>
<globalization culture="en-US"/>
</system.web>
...
Multiple Schedulers in one page
Answered: Each scheduler will be represented by a special object on the server side and also on the client side. Using two schedulers on the same page should be no problem.
events not displaying in daypilot Clander lite
the same code used in daypilot pro it is working but when the code used in daypilot calender lite the calender is displaying but the events not displaying
Remove/transparent event border
Answered: You should be able to use a custom CSS class for this special event (set e.CssClass in BeforeEventRender event handler). Since build 7.4.2948 you can use CellMarginBottom property to specify minimal ...
Within 15 minutes
Answered: I believe what you are looking for is inside the <daypilot:daypilotcalendar ....CellDuration="15"..../>
How to add further subdivisions between time
Answered: If you are referring to the Scheduler, what you are looking to do is inside the <daypilot:daypilotcalendar....CellDuration="5"..../>
Focus calendar or a scheduler on a selected date outside of the control
Hi I can't find how to focus the calendar or a scheduler on a selected date outside of the control itself. The Calendar control uses a parameter as @Start. Is it possible to have that date set to ano...
How to update Scheduler data using ajax/javascript?
Answered: You can use the client-side API to modify the .resources array: http://api.daypilot.org/daypilot-scheduler-resources/ Then call .update() to refresh the scheduler: http://api.daypilot.org/daypilot-sc...
Modal does not exist
Hi, I have placed a scheduler on my page and am trying to walk through the tutorial of the hotel room project. I am working in VS2010 (webforms) and have created a new App_Code folder and placed the ...
Scheduler - select TimeRange with strg or shift key
Hello, I want to select a TimeRange with the strg oder shift key. I don't use the solution with the popup to enter a start and end date. I want that the user select the range with the strg oder shift...
Resources backcolor
Answered: If they have UNIQUE subject names, you can change the background color of them in your BeforeEventRender using a case statement based on what is in the subject. Example I have for you, I work with ph...
Context Menu Styling - Not working
Answered: The menu CssClassPrefix syntax has been updated recently to match the other other controls. If you replace CssClassPrefix="menu_default_" with CssClassPrefix="menu_default" (note the missing last und...
How To add more than one datafield to DayPilot Scheduler
Answered: You can add extra fields using DataTagFields. It accepts multiple field names, separted by a comma. But you don't need to explicitly add these fields - you can access the original event object using ...
How To generate Flowchart ?
Hi guys...i want to create A flow chart from data stored in my Project Management module, but i colud found any suggestion how? i want to generate Flowchart in C# programatially (not using any Tool) ...