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

Questions Tagged how-to

Export/Print Function for GANTT

Answered: It's in the plan and it will be available one of the future releases.

Loading Completed Event?

Answered: There is a built-in element ("loading label") that will be displayed if a callback takes more than about 100ms. You can set the label HTML using LoadingLabelText property. It is displayed in the uppe...

How do you know when a single occurrence has been 'rescheduled'?

We are using the RecurrenceExpander to go through events to show whether openings on our calendar are 'booked' or not. Using the RecurrenceExpander seems to work well EXCEPT when one of the recurring...

how-to-read-anr-write-tags (Continued)...

Answered: Thanks for pointing this out. The ASP.NET version stores the tags in a slightly different way. Using e.tag("name") is the universal way to read the tag values. The JavaScript version requires the eve...

Send Email Reminders

Answered: You need to load the events from the database and expand them using RecurrenceExpander class. You can do this outside of a page and outside of the ASP.NET context - e.g. in a standalone application r...

onBeforeCellRender for a ressource on a day

Answered: Let's say you have a list of days to be highlighted: var days = ["2016-01-01", "2016-05-01"]; You can use the following code to highlight these days in the Scheduler: dp.onBeforeCellRender = fu...

Rows Filtration in Scheduler

Answered: It's quite possible that the version you are using doesn't support row filtering. As you can see in the documentation (https://doc.daypilot.org/scheduler/row-filtering/) the row filtering is supporte...

Update event details in database using Ajax

Answered: I assume you don't want to use any of the built-in mechanisms (PostBack, CallBack, Notify). You can make your own AJAX call (e.g. using jQuery) from EventResizeJavaScript handler. Note that the JS co...

How do I get the in-built UI functionality for editing recurrence events restored after not using inbuilt functionality?

Answered: Dave, You need to store the rule definition with the master record even if you don't let DayPilot to expand it automatically. You will need it just for this case - to know how the rule was defined so...

I would also like to allow the users to edit the recurring events and subsequently the recurring rule using the inbuilt support AND the manual events ..

Answered: For events that you have expanded manually you need to store this information in custom fields (DataTagFields) so you can access them later. You will not be able to identify them using e.recurrent() ...

Call Modal Box in AfterRenderJavascript

How to call modal box in AfterRenderJavascript and and how to pass event e in it?

Resource start time format in scheduler

Answered: When you specify the data source for the Gantt columns it will take the source data and display them using the default format. In case of DateTime fields, it is DateTime.ToString() method. This metho...

Multi-Line Events

Answered: By default, the Scheduler prevents the event text from wrapping. You can change it using eventTextWrappingEnabled property: dp.eventTextWrappingEnabled = true; You can also set custom event heigh...

How to add a recurrence symbol for series of events whereby each event is a seperate event?

Answered: You can add the image using BeforeEventRender - just modify the html using e.Html to include an <img> element. http://doc.daypilot.org/calendar/event-customization/ Another option is to use event act...

Month view split day Morning/Afternoon

Answered: Unfortunately this is not supported at the moment.

Recurrences - Is there a way to dynamically/programmatically set the repeat until value?

Answered: You can do it by calling Until() method on the RecurrenceRule instance. It can be either a new new instance: RecurrenceRule r1 = RecurrenceRule.FromDateTime("1", start).Weekly().Until(DateTime.Toda...

Scheduler under Angular

Answered: This turned out to be a bug of the latest version - since the introduction of "events" attribute it fails to recognize "daypilot-events". It's now fixed in the latest sandbox build (8.2.2072): http:/...

DataRecurrenceField, single events in db and "The recurrence info id doesn't correspond to event id." error

Answered: > In point 6 what would be the result of leaving the DataRecurrenceField n place for the control? If you leave DataRecurrenceField property empty the control will not read the recurrence rule from th...

Display Modal Box on Event Resize with Updated event details

Answered: If you want to open a modal dialog with event details after event resizing is complete, the best way is to open the modal dialog using AfterRenderJavaScript. This event is fired on the client side du...

Call Javascript Functions from Code File other than Page Load function

Answered: Please see AfterRenderJavaScript event which is described here: http://doc.daypilot.org/scheduler/callback-update/ On the server side, pass a custom object to .Update() - it will be available in Afte...

OnEventResized

Answered: In ASP.NET WebForms, only one event handler is fired for every event. You can specify it using EventResizeHandling. It can be "JavaScript", "CallBack", "PostBack", "Notify", etc. onEventResized is on...

Can I make Joint Events move together but not resize together?

Answered: Since build 2057 you can configure the behavior using the following properties: dp.jointEventsResize = false; dp.jointEventsMove = false; You can test and download build 2057 in the sandbox: htt...

CSS hourcellborder gone?

Answered: You can apply custom CSS class to cells that close an hour. protected void DayPilotCalendar1_BeforeCellRender(object sender, BeforeCellRenderEventArgs e) { if (e.End.Minute == 0) { e.CssCl...

Increase Cell Width based on number of Events

Answered: Unfortunately this scenario is not supported. You can define a custom timeline (http://doc.daypilot.org/scheduler/timeline/) and set the column width as needed but the events will always be displayed...

Custom timeHeaders

Answered: Do you use the latest DayPilot version? The start/end properties for time header active areas are available since version 8.1 (build 8.1.1757). If I add your code to demo/scheduler/index.html it seem...

Calling Javascript Functions from Code File(.aspx.cs)

Answered: If you want to execute custom JavaScript after the server-side CallBack you can use AfterRenderJavaScript. This property specifies the JavaScript that will be executed after every update (i.e. during...

Popup don't go away after Create

Answered: You can find a working example of the "new event" modal dialog in the following tutorial: http://code.daypilot.org/59860/asp-net-mvc-5-event-calendar The calendar is configured to display the modal d...

Display Modal Box on Event Resize

How to display Modal Box when we resizing the event? When I applying Javascript to EventResizeHandling and calling a function OnEventResize, then its showing errors. And I want to show the updated va...

Modal Box on Event Resize

Answered: You can do it like this: <DayPilot:DayPilotScheduler ... ClientObjectName="dp" EventResizeHandling="JavaScript" EventResizeJavaScript="new DayPilot.Modal({onClosed:function(args){ if (a...

Backend ActionResult 'Events' not running?

Answered: If you open developer tools in Chrome (Ctrl-Shift-I) and reload the page you will see all AJAX requests in the Network tab. You should be able to check: 1. If the request has been made 2. What is the...
Previous Questions 1681-1710 of 3096 Next