Answered: Hi Ed, I did a couple of tests to check the issues. 1. The RowClick event seems to work fine like this: RowClickHandling="Callback" OnRowClick="DayPilotScheduler1_OnRowClick" Code behind (C#): protec...
Hi, Monthly calendar set in “weeks” mode. I have custom left/right navigation which calls _Command in the code-behind. Navigation is working fine but although I have turned the Loading Label on in th...
Hi, OK, trying to incorporate both TimeRangeRightClickHandling (ContextMenu) and TimeRangeSelectedHandling (JavaScript)…hoping to have both a “click to enter…” type of function and still be able to u...
Answered: The Scheduler doesn’t require any special treatment and it behaves like a standard ASP.NET control. In this case, it refreshes when it receives a PostBack request. I would probably focus on the close...
Answered: Yes, this is possible using the events.find() method. You can also access the events.list array directly. In ASP.NET WebForms, you need the client-side object to access the API. <DayPilot:DayPilotMon...
Answered: 1. This should work fine. On PostBack, the TimeRangeSelected event is called for every cell and the values are updated on the client side. You can test it in the Calendar/Navigator.aspx demo page: If...
Answered: Yes, you can do it using CSS. In the default (built-in) CSS theme, the following styles are used: .scheduler_default_crosshair_vertical, .scheduler_default_crosshair_horizontal, .scheduler_default_cr...
Answered: I am using the default theme, I am just changing colours on the before render events. I have turned floating events off and it works fine for what I need.
Answered: For the time range selection/grid cell right clicks, you can define the context menu using the ContextMenuSelectionID property. See also Time Range Context Menu .
Answered: Sorry for the delay! It looks like you might reset the StartDate value at some point. I recommend checking Page_Load and the <DayPilot:DayPilotNavigator> tag. It also depends how you refresh the page...
Answered: For PostBack updates, you can place a label control above the calendar and set its text from code behind based on DayPilotMonth.StartDate value. If you change the date using a callback, you can use A...
Answered: Sorry for the delay! This is hard to guess, but probably it’s some custom CSS. You can try turing the global CSS of temporarily to see if the problem disappears and use browser developer tools to ins...
Answered: The best way would probably be to add the nested events as active areas inside events. The position of active areas can be specified in pixels ( top / bottom / height properties) or you can replace t...
Answered: Update: The Weeks mode is fully supported by the server-side image export so you can export individual weeks by setting ViewType to Weeks (DayPilot.Web.Ui.Enums.Month.ViewTypeEnum.Weeks), Weeks to 1 ...
Answered: By default, the exportAs() method includes the current viewport in the exported image. You can use the area property of the options parameter to include the full timeline ( area: "full" ) or a manual...
Answered: Most likely, you are using DayPilot Lite for ASP.NET WebForms - the open source version for ASP.NET. At this moment, the resources view is supported in the open-source JavaScript version and in all P...
Answered: You are right, this iCalendar tutorial is a bit outdated. I’ve added your request to the tutorial plan and it should appear at code.daypilot.org soon. We don’t plan to add iCalendar support directly ...
Answered: If you want to update the DayPilotMonth control from another control, there are the options: You can invoke commandCallBack() from the client side. You can update it using a partial PostBack, if the ...
Answered: In this tutorial, you can learn how to split an event using a context menu: JavaScript Scheduler: Splitting an Event You can then join these two new events using a link and possibly style them to ind...
Answered: It is not possible with UpdateWithMessage() but you can use Update() to send custom data to the client and display the message bar using JavaScript using a custom CSS class. Hashtable ht = new Hashta...
Answered: There are two options: You can mark the unavailable parts of the timeline as disabled (see Disabled cells in the Scheduler , Disabled cells in the Calendar ). If the available slots have a fixed dura...
Answered: You can find an example in the documentation, Event Moving page (expand the ASP.NET WebForms section to see it): <DayPilot:DayPilotScheduler runat="server" id="DayPilotScheduler1" ... ClientObjectNam...
Answered: If you use onBeforeTimeHeaderRender to customize the headers, the Scheduler will use the value of args.header.html in the live instance in the browser and args.header.text during the export. Also, it...
Answered: Probably the easiest solution would be to add a simple <img> element that you hide using CSS so it isn't visible by default. Then you can make it visible using a client-side click event handler (OnCl...
Answered: The BeforeCellRender event is fired for every cell and it needs to be kept as efficient as possible. It is not possible to run a new database query in every invocation. I recommend running a single q...