Questions Tagged asp.net
Crosshair doesn't work anymore when using a Theme in DayPilotCalendar 2018.2.3657
Answered: You may need to get an updated version of the theme. There are two options: 1. Create a new theme from scratch: https://themes.daypilot.org/calendar/create 2. If you have created the theme using the ...
Import ics file
Answered: You'll need a library that handles iCalendar format to import an ics file. One of the free libraries available is DDay.iCal. It's used in the export tutorial for exporting the events to ics: https://...
Hourly rental and next reservation times
Answered: When event overlap protection is enabled (https://doc.daypilot.org/scheduler/event-overlaps/) the Scheduler will block times with existing events. If you want to use this mechanism to block 5 minutes...
DayPilotScheduler - hide non business hours
Answered: Unfortunately, this feature is only available in the Pro version. See also the feature comparison: https://aspnet.daypilot.org/feature-matrix/
Change color of some resource divider
Answered: Unfortunately the divider div is not part of the resource header element so you can't control it using resource properties. However, you can hide the default divider and use a bottom border of the ro...
AllowEventOverlapping on the basis of conditions.
Answered: You need to implement a custom rule using onEventMoving event handler - in the ASP.NET version it's accessible using EventMovingJavaScript property. See also: https://doc.daypilot.org/scheduler/event...
CallBack as EventClickHandling and Using DayPilotCalendar1_EventClick method in cs file , want to use Redirect in DayPilotCalendar1_EventClick method
Answered: To perform a server-side redirect you need to use "PostBack" event handling type.
backend_delete
Answered: Please take a look at the documentation: https://doc.daypilot.org/calendar/event-deleting/ You need to use onEventDelete event handler to call backend_delete.php endpoint on the server side. You need...
navigator control
Answered: You can get the visible date range using VisibleStart and VisibleEnd properties.
In DayPilot pro version Timerangeselect is working only for selection not for left click
Answered: Are you using the latest version? In the demo, it works with a grid cell click just fine: https://aspnet.daypilot.org/demo/Calendar/
calculation
If I want to add a calculation can you show me how? I downloaded the full booking system but for my school project, the system should have some sort of a calculation!
e.DurationBarColor
Hi, I'm working on a scheduler using daypilot lite. I would like to change de color of my duration bar. I use this event : protected void DayPilotScheduler1_BeforeEventRender(object sender, BeforeEve...
Number of Days and Performance
Answered: In the ASP.NET version, you can load the events dynamically during scrolling: https://doc.daypilot.org/scheduler/dynamic-event-loading/ This still requires the timeline to be loaded in full. That sho...
just update event without notification
Answered: Yes, correct. The .queue() and .notify() calls are only necessary if you want to send an update to the server. If you just want to make a client-side change you don't need to call any of them.
Navigator for both dayPilotMonth and DayPilotCalendar
Answered: https://code.daypilot.org/18967/event-calendar-with-day-week-month-views-for-asp-net-webfor probably is the answer thank you f
Database
Answered: The SQL Server database schema looks like this:
CREATE TABLE [dbo].[Assignment] (
[AssignmentId] BIGINT IDENTITY (1, 1) NOT NULL,
[AssignmentNote] VARCHAR (2000) NULL,
[A...
e.FontColor doesn't work in ASP.NET DayPilotCalendar
Answered: This issue should be fixed now in the latest sandbox build (2018.2.3649): https://aspnet.daypilot.org/sandbox/
Event Calendar
Answered: Have you checked the docs? https://doc.daypilot.org/scheduler/event-deleting/
Keep expanded/Collapsed state after a postback Daypilot Gantt
Answered: If you set StoreTasksInViewState="true" the current state of the whole task hierarchy will be saved in the ViewState and it will be available on the server side during PostBacks.
Seaparator in each Saturday?
Answered: Each separator has to be entered as a special item in the separators array. I recommend using a loop to generate it for all Saturdays in the selected date range.
Create Event half way through the day
Answered: At this moment the time range selection only works for whole steps (the snap-to-grid option doesn't apply here - https://doc.daypilot.org/scheduler/snap-to-grid/). However, you can use smaller cells ...
Issue with Duplicate rows in gantt daypilot scheduler
Answered: It looks like your SQL select produces two rows for every item. Have you tried checking the data set? There are a couple of things to review: 1. Do you intend to display multiple items per row? Then ...
Get the RoomId and create a new event for Day Pilot Scheduler
Answered: Please take a look at this docs topic: https://doc.daypilot.org/scheduler/event-creating/ The resource id is available in the TimeRangeSelected event handler (e.Resource on the server side, "resource...
Editing
Hello, what can I do? everything seems to be ok but I do not know what I touched because I cannot edit an appointment as a doctor. How can I make it possible to edit an appointment after a patient ha...
TimeRangeDoubleClickJavaScript doesn't work anymore in Calendar
Answered: This problem is now fixed in the latest sandbox build (2018.1.3646): https://aspnet.daypilot.org/sandbox/ The fix will be included in the next release.
IE 8 compatibility
Answered: Unfortunately, IE8 is not supported. Microsoft stopped supporting IE8 in January 2016 and so did we. For the list of supported browsers please see the Compatibility page: https://aspnet.daypilot.org/...
Events Not Showing in Calendar
I am loading both the Resources and the Events from SQL Server and already had this working in the Scheduler control. When binding in the Page_Load for the Calendar control, I have verified that data...