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

Questions Tagged how-to

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 ...

Get a listing of events on a specific day?

How would we do this? We have tried just pulling the date from the database, but because of the recurrence string, etc we cannot get the correct items. There are always extra when an item is deleted ...

How do i use update panel for DayView

Hi I'm trying to use daypilot lite, to dispaly events on the calender and if the selected date changes..it should bind the data for that date..But it is not working.. Any help appreciated <div style=...

RecurrenceExpander.Expand Sort?

We are using RecurrenceExpander.Expand to show the upcoming sessions of a recurring class as a list of dates. If a single occurrence is moved that new occurrence date shows up in the middle of other ...

Delete Events in DP Month With Recurring Events

DP 7.1.2695 DP Month I'm running into trouble trying to delete events in a Month cal with recurrence support. How can I call a delete/remove function from JavaScript? Calling Delete from a DP Menu it...

Scheduler add ResourceColumn programmatically

Hi, I'm using the scheduler and i would like to add programmatically ResourceColumn. My sample code is: DataTable dt = dl.SelectRooms(); DayPilotScheduler1.Resources.Clear(); int i = 0; foreach (Data...

DateTime localization

Hello, how do you localize the dates with the mvc release of daypilot scheduler? I have tried setting Thread.CurrentThread.CurrentUICulture and Thread.CurrentThread.CurrentCulture. It's a multilangua...

Clientside Set Height

Answered: Thanks Dan for your help. The best way to do this is to use HeightSpec="Parent100Pct". You can set the height of the parent element as you wish. If you need to update the height to match the height o...

Fixed height for row (css override) ?

Hi, with Daypilot Scheduler < 7.0 is it possible to adjust the row height manually (maybe with some css overrides) to a fixed height ? In my specific case I need to limit the rows displayed for a res...

How to apply a theme to a day pilot day resource view

Answered: In the Lite version, CSS themes are only supported in version 4 and higher: http://www.daypilot.org/daypilot-lite-for-asp-net-webforms-4-0.html In both Pro and Lite, you need to follow these steps: 1...

How to display half hours

I have a day sheduler where I want the shifts from 8h30 till 17h. I want it to be in cells of 0:30min. But this doesn't work. When I change the cell duration to 30 I only get 00 and 30, not 08:30... ...

EventArrangementType for DayPilotScheduler (display overlapping events in a single row) ?

Hello, is it possible for DP Scheduler (Pro) to display events which overlap not to get arranged one per row but to get cascaded (or really just let them overlap in one single row) like in the DP cal...

Update navigator after changing date on server side

Hi all, maybe it's easy to do, but I can't set the initial date of navigator form the page_load function of my page. The problem is, that the startingdate will be set, but on the page the navigator w...

DayBeginsHour and DayEndsHour for Scheduler

Answered: You can hide non-business hours quite easily: http://www.daypilot.org/demo/Scheduler/HideNonBusiness.aspx Alternatively, you can handle the BeforeTimeHeaderRender event and set e.Visible based on the...

Resizing events to stack next to eachother

I work in a physician setting and am trying to find a way to make events half as wide to fit two events on a singuar line. I need one cell to look similar to the jpeg ive attached. Is this possible w...

Resizing events to stack next to eachother

I work in a physician setting and am trying to find a way to make events half as wide to fit two events on a singuar line. I need one cell to look similar to the jpeg ive attached. Is this possible w...

Update partialView

Hi, I am using the right click to change my project status: "@Html.DayPilotMenu("dpsMenu", dpsm);". It's work fine, but now I want to change (or reload) a partialView I use in the same page and I can...
Previous Questions 2251-2280 of 3096 Next