Questions Tagged how-to
Navigator month selected
I have a DayPilotNavigator hooked up to a DayPilotMonth control that's displaying a month. When I select a new month from the navigator, the calendar is updating as expected. But, I also have a liter...
Different cell border colors
Hi, Is there a possiblity to use different cell border colors in a calendar, e.g. black for full hours and light gray in between (cell duration is 5 minutes)? Best regards
View Calendar Details
Hi I am using DayPilot Lite and I got it displaying calendar entries from a specified database perfectly, however I want my users to be able to view the full details of the entry and as such have set...
BeforeEventRender e.BubbleHtml not working
Answered: Looks like I didn't have the DayPilot:DayPilotBubble control on the page
e.InnerHTML is throwing exception
HI, we are getting following exception Exception information: Exception type: HttpRequestValidationException Exception message: A potentially dangerous Request.Form value was detected from the client...
Deleting Event - Scheduler Pro, Using active area delete icon
Answered: Found the issue, per a recommendation from Dan- When using eventDeleteHandling = Update, the active area is automatically created and BeforeEventRender is not necessary. In my case, it was prohibitin...
Style Hierarchical Headers Differently
When using a hierarchy of column headers (e.g. Days-Resources), is it possible to style the different levels of header differently? I actually want to hide parent header completely and I thought I mi...
Calendar Won't Refresh
Answered: Ok, I've figured this out, or at least worked around it. My Calendar was in Resources View Mode, and I was defining the columns declaritively in the ASP.NET markup rather than dynamically in the code...
Help with building ASP.NET event calendar
Answered: Have you added a reference to DayPilot.Web.Mvc.dll? If you are using a "web site" project type it's enough to copy the dll to the bin directory. For compiled projects (default for MVC) you need to ad...
Not Able to View Concurrent Events on Pro Version
Answered: Can you please record the HTTP traffic during page load using IE and send the NetworkData.xml file to support@daypilot.org? http://kb.daypilot.org/81542/how-to-record-network-activity-using-ie-develo...
Event Bubble Can not config
Answered: You should create custom CSS theme: CSS
.my_bubble_main {
cursor: default;
width: 100px;
}
.my_bubble_main_inner {
border-radius: 5px;
font-size: 12px;
padding: 4px;
color: #6...
Styling the rows....??
Answered: To set the color of the cells use onBeforeCellRender: http://doc.daypilot.org/scheduler/cell-customization/ and to set the color of the row headers use onBeforeResHeaderRender: http://doc.daypilot.or...
floating the header ?
Answered: maybe this property, the DayPilot will show it owner scrollbar. HeightSpec = HeightSpec.Parent100Pct But I think the best solution is use jquery.floatThead
Data Bind Cells
Answered: You can customize the cells (color, CSS, HTML) using BeforeCellRender event handler: http://doc.daypilot.org/calendar/cell-customization/
Error while setting in ShowBusinessHours (urgent)
This is how my control looks <DayPilot:DayPilotScheduler ID="DayPilotScheduler1" runat="server" Enabled="false" HeaderFontSize="6pt" HeaderHeight="30" DataStartField="start" DataEndField="end" DataTe...
Wrap up text on duration bar
Answered: If the problem is that you are not able to show the full text in the event box you have two options: 1. Make the events bigger by increasing CellWidth value: http://doc.daypilot.org/scheduler/cell-wi...
Scheduler timerange: why from 0 to 0 clock?
Answered: DayPilot works with exact time points: The day begins at 00:00 and ends at 24:00 (i.e. 00:00 the following day). If you want to display the end date the way you describe you need to subtract one day ...
What property should I add or remove ?
What property should I modify ? Please see the attachment file
DayPilot Client Script Version ?
Just yesterday, I'm using DayPilot MVC 7.75664.0 and client script version 800. Today, I delete the old script and reference newest version 7.8.5684.1 and add client script version 921, but when I ru...
want to edit all day events
Answered: Eunice, Inline editing of all-day events is now available in the latest sandbox build (7.8.3154): http://www.daypilot.org/sandbox/ It will be available in the next official release. In addition to th...
Modal.close is not working in google chrome
Answered: Please upgrade to the latest version (2.1): http://code.daypilot.org/81367/daypilot-modal It uses a different mechanism of passing the result back to the client and it is compatibly with Google Chrom...
Setting up Start and End Date for Daypilot Scheduler
Answered: I'm not sure if that's what you are looking for but you can set the number of days visible using .Days property:
this.DayPilotScheduler1.Days = 365;
offset end date
Answered: The dates are interpreted as exact time points, i.e. when the start date is set to 01.01.2014 it means 2014-01-01T00:00:00, the end date 03.01.2014 means 2014-01-03T00:00:00. The difference between t...
Change 'today' in DayPilotNavigator?
Answered: It looks like the only way is to clear the style for _todaybox in the CSS (to hide the default today indicator) and add a custom class using BeforeCellRender for today.
protected void DayPilotNavig...
Styling Indicator and Row Selecting ?
Answered: The new theme elements that were introduced in 7.8 are defined like this (in the built-in theme, i.e. "scheduler_default"). You can copy these styles to your theme. The other themes in the package an...
Dynamically setting DayBeginsHour in C# code-behind
Answered: Jeff, There was a problem with passing the updated DayBeginsHour/DayEndsHour to the client side during CallBacks. It's fixed now in build 7.8.3155. See the sandbox: http://www.daypilot.org/sandbox/
Display DayCalendar without Navigator or Tabs
Client asked for a report that showed the dayCalendar (week) with events but no Navigator or Tabs (for Day/Week/Month). I created a view with the dayCalendar, but it would only show the current day r...
Clash between DayPilot Pro and WebService in MVC
When I added a webService to the project that implemented a connection to a ReportViewer, a build returned the error that it could no longer find the reference DayPilot Pro. For anyone who encounters...
Scheduler multiuser- able?
Answered: Solving record locking is far from simple in web applications. See the following SO question for a brief outline of the problem: http://stackoverflow.com/questions/3358957/blocking-a-record-from-edit...