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

Questions Tagged

How to customize resource column value programmatically

Answered: You can access the Resource columns directly using Resource.Column collection: DayPilotScheduler1.Resources[0].Columns[0].InnerHTML = "Room #12123";

How long are events stored in ViewState

Answered: It's reset every time you call DataBind(). It only contains the latest event set loaded from DataSource. I would recommend reloading events from the database instead of storing them in the ViewState....

Can I preload the Scheduler to remove the delay in events appearing when scrolling?

Answered: You can disable the progressive event rendering by using the following switch in the config: DynamicEventRendering = DynamicEventRenderingType.Disabled It will behave like this demo (WebForms): http:...

How do I adjust the header row time format in the Scheduler?

Answered: You can customize the header strings by overriding OnBeforeTimeHeader method. Just set e.InnerHtml as needed: protected override void OnBeforeTimeHeaderRender(BeforeTimeHeaderRenderArgs...

How do I hook into when the user clicks a date in the Navigator?

Answered: You need to handle TimeRangeSelected event manually: TimeRangeSelectedHandling = TimeRangeSelectedHandlingType.JavaScript, TimeRangeSelectedJavaScript = "yourHandler(start, end);" If you want to...

Problems with UpdatePanels

Answered: This bug is fixed now in build 7.2.2761. You can download it in the sandbox: http://www.daypilot.org/sandbox/ The fix will be included in the next release. Please let me know if there is still any pr...

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

adding custom non business days in scheduler.

Answered: I suggest you check the dates in the "BeforeCellRender" event f your scheduler. Here you have all the data of the field, which you can use to cross reference with your own holidays list. If you deter...

Bug on IE9 and Scheduler.js: invalid argument on colSpan

Hi, On IE9, the following code will fail: if ($m.Columns == null || $m.Columns.length == 0) { c.colSpan = $0P; $R.style.width = $1l + "px"; } else { ... Because if $0P == 0, then an execption is rais...

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%),...

IE 8 - DayPilot Schedular throws javascript exception

Answered: This problem was fixed in 7.1 SP2: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-1-sp2.html

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

InnerHTML render bug in Calendar cells

Hi everybody, I would like to know if there's a quick workaround to fix a bug (at least I suppose that is a bug) in cells render. I'm using the Calendar component, and I'm trying to inject some html ...

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?

Month BeforeEventRender Set BackgroundColor

Hi, Like the new feature in the scheduler, it is possible to replicate it to the Month object? What I want is to set custom backgroundcolor while using the CssOnly = true. Is this possible? Thanks in...

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

Scheduler Demo 7.1.2734 Event issue when run locally

Hi, I downloaded the Trial solution and noticed that when running the TimeHeaders form the events are shown on the wrong days when it is run locally (the form hosted by DayPilot is fine). For example...

Month / Scheduler Control hangs IE9

DayPilot 7.1.2730 I have a page which displays a scheduler or month control within a jQuery UI tab page. I am using script to ensure that the tab control fills the available space, and I want the con...
Previous Questions 3481-3510 of 5187 Next