search envelope-o feed check
Home Unanswered Active Tags New Question

Questions Tagged how-to

Display Back to Back Events in Scheduler

Answered: 1. The combination of UseEventBoxes=Never and setting the end time to the start time of the next event should work. If you take Image 3 and set UseEventBoxes=Never, does it work as expected? 2. You s...

How do I customize daypilot bubble animation.

Answered: You can turn it off using .Animated = false. It is not possible to provide custom animation at this moment.

Can I show a context menu when the user right-clicks on an open space in the Scheduler?

Answered: Yes, this is possible - you need to assign the context menu to ContextMenuSelection: <%= Html.DayPilotScheduler("dps", new DayPilotSchedulerConfig { BackendUrl = ResolveUrl("~/Scheduler/Backend"...

daypilotcalendar for multiple users

Answered: If you want to show calendars for 30 or more users it is definitely better to switch to daypilot scheduler which displays the resources (people) on the vertical axis: http://www.daypilot.org/demo/Sch...

Define URL for Event

Answered: By default there is no URL associated with the event. You should handle the EventClick event and define the required action. For redirecting it to a specified url you can use something like this: ...

100% Height for Scheduler (HeightSpec="Parent100Pct") not working

Answered: This probably means the height of the parent element is not set properly (at all). Please see also: http://kb.daypilot.org/22832/how-to-use-scheduler-with-100-height/ You can use fixed pixels: heig...

Scheduler SetScrollX from JScript

Answered: In the Scheduler, you can do it using setScroll() method (in pixels): http://api.daypilot.org/daypilot-scheduler-setscroll/ Or using scrollTo() method (using a date): var now = new DayPilot.Date(...

How to Refresh DayPilot Lite Scheduler after entering event

Answered: The only way to do it in the Lite version is to place the Scheduler inside an UpdatePanel and refresh the panel. It is demonstrated in this tutorial (not described in the tutorial text but it is used...

Scheduler: Multiple Tasks Per Row Where ViewMode=Gantt

Answered: The problem #1 can be solved by generating the rows manually (it's really simple) as demonstrated in the Gantt tutorial at http://code.daypilot.org/68118/gantt-chart-tutorial-asp-net-sql-server-c-vb-...

how to split an hour

Answered: In the Lite version the cell duration is fixed to 30 minutes. In the Pro version you can change it using CellDuration property (CellDuration=15).

horizontal display of calendar

Answered: When display calendar for multiple users you can choose one of the following views: 1. Resources on the vertical axis and time on the horizontal axis (Scheduler control): http://www.daypilot.org/demo...

Differnt colors for Gantt tasks

Answered: Some themes use a gradient event background defined using "background" CSS style (scheduler_white, scheduler_green). The e.BackgroundColor translated into an inline "background-color" and this proper...

How do you use EventResizeJavaScript and similar with MVC

Answered: This is not a typical scenario and that makes the solution a bit complicated. What you need to do in the JavaScript is to call the server-side handler and then make sure the request has been complete...

How to add additional data in day pilot event

Answered: Hi krishnan, The event source object (from DataSource) is available in BeforeEventRender event handler as e.DataItem (e.DataItem.Source). Example: protected void DayPilotCalendar1_BeforeEventRe...

How to display 12 AM on week view calendar?

How to display 12 AM on week view calendar?

Set click event

Answered: On the server side: DayPilotScheduler1.EventClickHandling="JavaScript"; DayPilotScheduler1.EvenClickJavaScript="dps1.eventMenuClickPostBack(e, 'Command')";

DayPilot

Answered: I assume you mean the events (coming from DataSource), not the background cells (the matrix). To fire the client-side EventClick event, call this: dps1.onEventClick(e); e is the DayPilot.Event ob...

How to show the different color for each type of Event (MVC doen't have e.DataItem)

Answered: It's now available in build 5528. See the sandbox: http://mvc.daypilot.org/sandbox/

Changing date format in DayPilot lite schedular in header

Answered: The Lite version of the Scheduler doesn't support changing the date format in the header. It will always show the day number for CellDuration >= 1440. If you want to display something else you will h...

highlight bank holidays in scheduler

Answered: 1. First you need the holiday data. 2. Add a BeforeCellRender event handler. This event is called once for each time cell. You should check the cell date (e.Start, e.End) here and compare it with the...

Binding Calendar Events to Backend Stored Procedure Dataset

Answered: These properties should actually hold the names of the fields/columns in the list: DataIdField = "RowNum" DataTextField = "Employee" DataStartField = "Annual_Leave_Day" DataEndField = "Annual_Leave_D...

How to use DayPilot Scheduler in SharePoint 2010 ?

Answered: Version 7.3.2844 doesn't call Assembly.GetName() (which requires IO permissions) anymore. You can download it in the sandbox: http://www.daypilot.org/sandbox/

Month - Changing event background colors

Answered: The CssClassPrefix property can be used to apply a css theme. All the internally used css classes will get prefixed by the value of CssClassPrefix. This makes the theme class names unique. Example: C...

Cell Duration mis-alignment

Answered: This looks like an interference with a global CSS. Try to limit the global styles so they don't apply to the div with DayPilot. Check especially table and td styles in the global stylesheet.

Change height

Answered: The control height is calculated automatically from the individual rows. The minimal row height is set using MinCellHeight property. In the row stacking mode (EventStackingMode="Row") the row height ...

How to display day, week, month and year view on selection of user choice?

Answered: The best way is to add one control for each of the views (day/week/month) and hide all except of one. 1. You can do this by simply wrapping them in a div with style="display:none" and change this pro...

Scheduler / CSS / Event Background Colours

Answered: This is caused by the CSS theme definition. Some of the themes (white, green) use a gradient background which is defined using "background" property. The e.BackgroundColor set in BeforeEventRender is...

Image Export DayPilot Scheduler

Answered: I've got. The width should be 100% and not expressed in px

HELP ! I use Sheduler . I want count all sunday in beween tow days

Answered: DateTime start = Convert.ToDateTime("2013-04-01"); DateTime end = Convert.ToDateTime("2013-05-02"); int count = 0; for(DateTime d = start.Date; d < end.Date; d = d.AddDays(1)) { if (d.DayOfWe...

DayPilot Scheduler multiple resources binding

I''m new to Daypilot scheduler. please let me know how to add multiple resources with different resource types and binding those with timeline. I can add only one id reference in following propeties ...
Previous Questions 2191-2220 of 3052 Next