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

Questions Tagged


Can I use DayPilot:DayPilotScheduler in several pages inside my application with license Web Mini?

Is database connectivity available in Demo version

Answered: Yes, the database connectivity is available in the trial version as well. Please take a look at the ASP.NET Scheduler tutorial which shows how to use DayPilot with SQL Server: https://code.daypilot.o...

Daypilot Scheduler in ipad (Safari browser)

Answered: Unfortunately, I'm not able to reproduce the issue. Which version of Safari, iOS and DayPilot do you use? Safari and Chrome use the same engine on iOS and they should behave exactly the same.

Applying CSS styles to dynamic "bubble" popovers

Answered: The "month_default_event_hover" class specifies appearance of calendar events when you move a mouse over it. To control the callout width, you can use "bubble_default_main" class (for the default the...

How do I embed a html link in the Event text?

Answered: The "DataTextField" property specifies the name of the data source item field that will be used to set the event text. If you want to set custom event HTML (hyperlink, image, etc.) you can use the Be...

How to execute client side JavaScript function whilst server processing request after user clicks on event blocks? [DayPilot Monthly Event Calendar]

Answered: You can use EventClickHandling='PostBack' and invoke the PostBack manually using eventClickPostBack() from EventClickJavaScript, after executing your code:

Add line break in text in Event

Answered: Mike, Please see my answer here: Please let me know if there is any problem.

room fields update

Answered: You can activate a context menu for the Scheduler row headers: Or you can add an action icon to the header:

Event test

Answered: The event text gets HTML-encoded (as a protection against XSS attacks) and then it is treated as HTML. That means ASCII line breaks will be ignored. If you need to insert a line break, you'll have to...

cell to into two lines or below the current line

Answered: The events will be displayed in a single horizontal line if they don't overlap. If the end date/time of the first event and the start date/time are the same the events are still considered non-overla...

Date wise Header but data rows breaks into two lines.

Answered: Thank you for posting the screenshot:

how to prevent the daypilot modal from closing when clicked outside?

Answered: You can do it using onClose event handler: onClose: args => { if (args.backgroundClick) { args.preventDefault(); } }

Refresh Gantt command

Answered: The Modal.Close() method uses a workaround to return the control back to the client side. Older versions may not work well - please make sure that you use the latest version of the ASP.NET WebForms h...

Automatically collapse child tasks

Answered: By default, the state of all Gantt chart groups is set to "expanded". You can keep the children collapsed by setting Expanded = false when loading tasks.

Gantt chart not showing

Answered: I recommend checking the HTTP requests using the browser developers tools, Network tab. You will see which requests fail and the responses will include an error message which may provide a hint. Most...


Answered: scrollTo() is a client-side method and it can only be used on the client side, in JavaScript:

box.html in group mode

Answered: Unfortunately, it's not possible to change the task group inner HTML in ASP.NET.

Progress bar change color

Answered: You can use the box.barColor and box.barBackColor properties:

How do you make more than one employee run the same shift

Answered: Yes, there are many different scenarios that are not covered by this sample. To add more people to the same time and location, you can choose a solution depending on the workflow: 1. To allow more as...

Is clearSelection available?

Answered: Yes, the clearSelection() client-side method is available in the ASP.NET WebForms version as well. You can find an example in the main Scheduler demo: The ...

DayPilot Block specific resource or time

Answered: Yes, you can use BeforeCellRender event to mark cells as disabled. That will prevent all drag and drop operations:

ResizeStart / ResizeEnd not working on touch devices

Answered: This is a regression bug which should be fixed now in the latest sandbox build (2021.4.3805): Thanks for reporting the issue!

Month Event Prerender not working

Answered: You'll need to change the attribute to: OnBeforeEventRender="DayPilotMonth1_BeforeEventRender" or add "Handles" to the the method signature: Protected Sub DayPilotMonth1_BeforeEventRender(ByVal...

How to call a daypilot EventClickJavaScript on button click of ASP.NET WEBFORM - C#

Answered: Instead of trying to build the DayPilot.Event object, I recommend changing the ask() function signature so it would accept individual parameters that are available to the button click event handler.

Is it possible to get the same event of DayPilot on Gridview OnRawCommand ?

Answered: The 'e' variable holds a DayPilot.Event object. You can create it using the constructor:

How to call a DayPilotCalendar event on button click of ASP.NET ?

Answered: Try this: <asp:LinkButton ID="linkbtn_show" runat="server" Text="Create New Task" OnClientClick="javascript: create('2021-08-16T13:00:00', '2021-08-16T13:00:00', null);" > </asp:LinkButton>

After update 2020.4.3

Answered: This happens because some of your events use the same ID (the error message refers to "GQS217123") which is not allowed. You should make sure that the event IDs are unique.

Hotel room/floor representation

Answered: Yes, it is possible. You'd need to map the dates (e.g. the day of year part) to floors using a technique used in the ASP.NET timetable tutorial:

How to show the recourse image

Answered: I answer to myself Private Sub ParkingDP_BeforeResHeaderRender(sender As Object, e As BeforeResHeaderRenderEventArgs) Handles ParkingDP.BeforeResHeaderRender Dim htm As String = "<img src=data:image/...

wait message before Posting

Answered: Solved by changing to manual BIND TimeRangeSelectedHandling="JavaScript" TimeRangeSelectedJavaScript="btn_navigateClick();"
Questions 1-30 of 2552 Next