Questions Tagged how-to
Sync / Integrate with other Calendars
Answered: Hi Stephanie, It's possible to generate an iCalendar file using dday.ical library (or another icalendar library): http://www.ddaysoftware.com/Pages/Projects/DDay.iCal/ A tutorial that will show how t...
A potentially dangerous Request.Form-Value was found from the Client
Answered: Now I got a solution to set the background. The solution is to set the rowheaders background in the css to inherit and the e.Background in the BeforeHeaderRenderEventArgs to the color.
Scheduler Event Title Always Visible
Hoping someone out there can help answer if and how our request is possible. We are using the DP Pro Scheduler to show a multitude of events at the hourly level. Some events are only an hour, some ar...
How do I change the colours of events in the month calendar depending on event type? (CSS Only)
Answered: You can change this the scheduler "BeforeEventRender" event Here I advise you to create your own layout, using labels, divs, ... this can be done using the "e.tag" values you get from your event. Onc...
How do I set the tag field when I create the event?
Answered: If you digg you shall find. Apparently you define what "tags" should be looked for in the row object. To define the tags i wrote this in the init-method: setDataTagFields("mytag1, mytag2"); Then: Row...
Getting the Date from Daypilot
How do i get date on clicking the day in daypilot control, can any one help me. Thanks in advance
How can I set CellBackColorNonBusiness when using CSS
It appears that the CellBackColorNonBusiness setting is ignored when using CSS How can I define this in CSS?
Calendar columns width
Hi, It's any way to determine the with of then calendar's columns in ressource view. WidthInPrct property of column object become obsolet. I would like to have 3 columns per day with 1 smaller (20%),...
Moving events
Hi, Is it possible to move events (drag and drop) in the open source version of the Calendar? Thanks
How can I remove just one event from the scheduler without having to reload all events
I have a context menu item that calls the following jscript function to remove an event function removeEvent(tgt) { //$.ajaxSetup({ cache: false }); // must turn caching off to ensure json method is ...
How to print multiple scheduler controls?
I have 7 scheduler controls on my page. I need to be able to print all 7 together. Is there a way to do this?
How do I get the date to always display in the DayPilot Scheduler no matter what the scroll position is?
By default (I guess) the scheduler is displaying the date in the header only at the center. So If I scroll too far over left or right the date is not displayed. Is there a way to make the date displa...
How to create a schedule for a week in specific time interval
Hi, I am using a purchased version of daypilot. Currently for schedule I am using my own written ASP.NET code but now I want to use the scheduler. My requirement is to create a schedule against a per...
How to show a resource Bubble using Javascript
Answered: Thomas, you can use the following code:
// bubble = DayPilot.Bubble object
// dps = use ClientObjectName value (DayPilot.Scheduler object)
// resource = resource id
function showResourceBubble(b...
Event selecting programatically in DayPilotMonth
Answered: Since 7.1 SP4 it's possible to create an instance of this class by calling: EventInfo.Create(id) for regular events EventInto.CreateRecurring(masterId, start) for recurring events This will create an...
Different event colors in DayPilot Month
Answered: This is not hard at all. Here is a code snippet which I use for my offices which turn different events into different colors (based on the first two letters). Event: "FG - Out of Office" protected vo...
side-by-side events
I am using daypilot month in order to set events. On a daily basis we have two events that need to be side by side (i.e. two events which are half as long as normal events side-by-side as opposed to ...
Get start date from Navigator
Hi, I want to get the date selected from the Navigator and pass it in my Page_Load method. Does anyone know how to do this? Thanks
Prevent event overlapping
Hello, I have seen two questions regarding this on the forum and the feature was supposed to be build in in 2011. Any news on that? How can I prevent my event from overlapping during TimeRangeSelecti...
Events rendering very slowly on DP Calendar
Answered: Hi Dan, I think I found a possible reason why the calendar was so slow to load. I had a OnBeforeEventRender method to apply a color code each event, and that is why the rendering time was so long. No...
EventManager not found
Answered: OK I found it, you have to create this class on your own according to http://code.daypilot.org/62492/scheduler-for-asp-net-mvc-4-razor
Calendar not updating
Answered: I found the problem myself, for future references - you have to update your .Columns to reflect the new date as well.
Tree Resources - "htmlfile" invalid argument
Hello, As soon as I try to put my resources in a tree, I get a 'htmlfile': invalid argument error for each of my resources. At this exact line: if($m.Columns==null||$m.Columns.length==0){c.colSpan=$0...
Add title header to Month
Answered: There is no built-in header but you can add your own: http://kb.daypilot.org/92633/how-to-show-the-selected-date-using-a-label-control/
DayPilot Pro WeekView Bug inside update panel
Answered: There is now a new version available that improves the interoperability with UpdatePanel: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-1-sp3.html Please let me know if the problem pers...
Horizontal Scroll
Hi, We have a requirement where the Calendar control is used to display one week at a time. We want to be able to have 7 days available on the screen when loaded but only Monday to Friday to be visib...
Decoding and finding RecurrenceException.EncodeExceptionDeleted in recurrence field using SQL query.
I am trying to find out if the recurrence field of a record is RecurrenceException.EncodeExceptionDeleted using SQL query. I look at the website but there is no mention of how to decode the string of...
Catch cell in doubleClick
Hi, I'm trying to block events clientside (doubleclick, to add an event) During the dps_BeforeCellRender, I place the cells to isBusiness (+ change CSS) Then i catch the event using the javascript fu...
Scheduler: Custom loading animation
Answered: You can override .loadingStart and loadingStop on the client side but this is not public API. You can also modify the loading div content using LoadingLabelText property (it accepts HTML as well).
Conflict detector ignore Recurring Events event in the DataTable?
Answered: The ConflictDetector API has been extended to handle recurring events in 7.1 release. http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-1.html It's not used in the tutorial yet (the tutoria...