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

Questions Tagged

Progress bar change color

Hello, I need to change the color of the progress bar in the Gantt chart depending on the percentage of completion, how to do this

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();"

Display event when horizontally scrolling

Answered: You can turn off progressive event rendering but it will affect performance when displaying a large number of events. See also:

Calendar Control not refreshing

Answered: Unfortunately, it's not clear from your example what could be wrong. I recommend starting with a working project from one of the tutorials, e.g.

Add menu item to context menu on scheduler

Answered: This should work fine - I recommend checking if your Page_Init() method is being called properly. If it is, you might be overwriting the menu items somewhere else.

Hide ContextMenu item based on logged user

Answered: You can define the context menu items dynamically in code behind in ASP.NET - use the Items property of the DayPilotMenu object.

Disabled cell still working if my event is longer on the right than disabled cells

Answered: You should check if you really disable the correct cells. The background color needs to be set separately so it's possible that you didn't disable all the colored cells. It's unlikely that the Schedu...

Resize and drag not working if ShowNonBusiness is set to False

Answered: I was using the latest version. I now found the issue on a js conflict. I'm using prototype.js that has an "any" function that was throwing an error when moving or resizing event on the scheduler. Th...

Resize and drag nor working if OnIncludeCell event is used

Answered: This seems to be the same issue as

Scheduler Alignment Bug in Chrome

Answered: Unfortunately I don't see the issue in the online demo of the Lite version: It might be a CSS interference issue - you can try to disable the global C...

DayPilotCalendar.UpdateWithMessage() not displaying message since 2020.4.3775

Answered: This issue should be fixed now in the latest sandbox build (2021.1.3785): Please let me know if the problem persists.

Gantt chart

Answered: There are two versions of DayPilot for ASP.NET WebForms DayPilot Lite for ASP.NET WebForms (open-source) DayPilot Pro for ASP.NET WebForms (commercial) https:...

Hebrew calendar - from right to left

Answered: Yes, this is possible:

Calendar hover color remains active when moving mouse between calendars

Answered: Hi Dave, This issue should be fixed now in the latest sandbox build (2021.1.3780): Please let me know if the problem persists.

DayPilot bubble is not working

Answered: The bubble is available in DayPilot Pro (paid version) but not in DayPilot Lite (open-source version). You can get an evaluation version of DayPilot Pro here:

DayPilot bubble is not working

Answered: For an example of <DayPilotBubble> usage please see the following demo: The source code of the demo is in Demo/Calendar.EventBubble.aspx fil...

Scheduler date problem

Answered: Try removing the following section from Page_Load: DayPilotScheduler1.Scale = TimeScale.Manual; DateTime start = new DateTime(DateTime.Today.Year, 1, 1, 12, 0, 0); DateTime end = start.AddYears(1...

Issue when rendering the scheduler

Answered: I recommend checking the data - it may contain invalid items which break the view. You can also check the JavaScript console to see if there are any errors.

Scroll to hour on button click

Answered: Changing the ScrollPositionHour value would only work on the server side, during the initial page load or during a PostBack. If you want to change the scrollbar position on the client side you'll nee...
Questions 1-30 of 2535 Next