Questions tagged asp.net

Resource row clikc/double-click issue

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...

Daypilot Month - Loading Label acting odd

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...

scheduler reload requirements

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...

search on v.events.list?

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...

Scheduler column sorting

Answered: Unfortunately, the built-in column sorting feature is only available for the JavaScript version.

selecting a date in the navigator

Answered: I was able to manually select the current date in javascript inside the form using dp_navigator.select(new Date()); thanks

Frozen rows ASP

Answered: Unfortunately, the frozen rows feature is only available in the JavaScript version.

Prevent refresh of date to today

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...

Month name as title for DayPilot Month

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...

New Event Background border

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...

ideas for grouping events in Calendar

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...

Scheduler export date range problems

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...

Cannot Change View Type To "Resources"

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...

DayPilotMonth Integration with MS Outlook

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 ...

Split the reservation on multiple resources

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...

UpdateWithMessage change color MessageBox from behind

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...

Error

hi team , facing issue once try to run application .

show appointments as free time

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...

Confirmation prompt of event resize or event move

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...

Text missing on export time headers.

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...

Loading pic

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...