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

Questions Tagged asp.net

Scheduler erroring when trying to reload it

Answered: Please take a look at this question: https://forums.daypilot.org/question/4310/daypilot-scheduler-error-error-during-serialization-or-dese If you are storing event data in the ViewState (StoreEventsI...

the type name Web does not exist in the type 'DayPilot'

Answered: You'll need to rename your class to something else than "DayPilot".

How to Disable Weekend Cells

Answered: You can disable selected cells using BeforeCellRender event. Please see more here: https://doc.daypilot.org/calendar/disabled-cells/

Crosshair=header : highlight don't disapear anymore when moving in columns header

Answered: This issue is now fixed and the fix will be included in the next ASP.NET version release which will be available in about 14 days.

Daypilot Day view but without the time - possible?

Answered: If you want to display one week, you can use the Month view and use the Weeks view: <DayPilot:DayPilotMonth ID="DayPilotMonth1" runat="server" ... ViewType="Weeks" Weeks="1" /...

Scheduler Event Phases

Answered: The event phases are displayed using active areas (https://doc.daypilot.org/scheduler/event-active-areas/). Active areas are rectangles inserted into events. The can be positioned using css-like left...

why e.CssClass doesn't load the css?

Answered: The CssClass property specifies the CSS class that will be applied to the DOM element (in this case an event) in addition to the built-in CSS classes. It's not the name of the stylesheet file. You ca...

Input string is not in the correct format error on Samsung Galaxy Note device

We have a web application that uses DayPilot to display a 1, 3 or 7 day view with the hours along the side. In this view there will be calls that the user can click on to take them to another page. T...

Idea needed - what control to use to display lots of events?

Answered: The monthly calendar includes a special "cell stacking mode" that lets you set a fixed day cell height and stack all events inside. A vertical scrollbar will be added if necessary: https://doc.daypil...

Can I drag and drop from DayPilotMonth to Navigator?

Answered: Unfortunately, dragging events to the Navigator component is not supported.

Export to PDF Week row problem

Answered: I have found the solution. It is to set DayPilotScheduler.CellWidthSpec = Enums.Scheduler.CellWidthSpec.Fixed Then all levels in timeheader is showed correct.

Scheduler Bubble not showing after event add

Answered: If you add the event on the client side using events.add() the server-side BeforeEventRender won't be fired. That might be required for the bubble HTML to be set. You need to add the event using a ca...

Parser error using DayPilot PRO

Answered: It looks like the reference requires a specific dll version. You should try to remove the reference to DayPilot.dll and re-add it. Also, don't forget to rebuild the solution.

Can't refresh daypilotscheduler

Answered: If you need to update two controls at once in ASP.NET WebForms, there are two options: 1. You can place both controls in an UpdatePanel and use PostBack event handling. In the event handler, you will...

Scheduler timeline order

Answered: Unfortunately, a reversed timeline is not supported at the moment.

Loading calendar of other user

Answered: It's possible to access a shared calendar like this: https://stackoverflow.com/questions/41095971/how-do-i-access-a-shared-calendar-using-ews-managed-api/41096736

"'The request failed. The remote server returned an error: (401) Unauthorized.'"

Answered: You should check the credentials used to authorize the user. See also this discussion: https://social.msdn.microsoft.com/Forums/en-US/12de5368-dde0-4d91-a1b2-394c4487d0f1/ews-the-request-failed-the-r...

Getting Error "The request failed. The remote server returned an error: (403) Forbidden."

Answered: It's not clear where this error message comes from (from your server or the Exchange server). However, it looks like your server so I recommend checking the permissions in the web server configuratio...

Show total hours in Timesheet

Answered: You might be able to display it in the upper-left corner (that's the only free space): https://doc.daypilot.org/scheduler/upper-left-corner/

Multiple Schedulers Scroll Lock

Answered: Yes, but you need to do it on the client side: // scrollbar synchronization $(document).ready(function() { $(dp.nav.scroll).scroll(function() { dp2.nav.scroll.scrollL...

Using id from event in modal dialog

Answered: You should be able to pass the event id to the modal dialog like this: <DayPilot:DayPilotScheduler ID="DayPilotScheduler1" runat="server" EventClickHandling="JavaScript" EventClickJavaScript="eventCl...

DayPilotScheduler and BeforeEventRender

Answered: This is correct, just make sure that BeforeEventRenderEventArgs is imported from the correct namespace (DayPilot.Web.Ui.Events.Scheduler). You can also specify it explicitly: protected void DayPilo...

Scheduler Event - Before the current date

Answered: Yes, you can mark the cells in the past as disabled: https://doc.daypilot.org/scheduler/disabled-cells/

EventClickHandling with JavaScript

Answered: I solved the Problem. The script was saved in the cache, so I just had to delete it. Now it works fine.

Database Connection

Answered: I recommend exploring the downloadable project, it's a complete implementation of the sample application, including database connection.

Null Exception on DataItem when setting StartDate

Answered: Hi Scott, The e.DataItem property is only initialized if you call DataBind(). Calling DataBind() is not necessary during callbacks/postbacks because the events are reloaded from the ViewState. Howeve...

PDF Export Tutorial missing definition of SetDataSourceAndBind and SetExportProperties

Answered: The tutorial text is now updated to include these methods as well: https://code.daypilot.org/69614/scheduler-pdf-export-asp-net-c-vb-sql-server You can also find it in the downloadable project - that...

Adding A checkbox

Answered: You can customize the event content using BeforeEventRender event handler (you can use it to customize the HTML, CSS class and other properties): https://doc.daypilot.org/scheduler/event-customizatio...

EndDateSpec equivalent for Month control?

Hi, I've just discovered the incredibly useful 'EndDateSpec' setting that allow dates to appear inclusive of the end date for the Scheduler. Is there an equivalent setting for the Month control?

Cell background color change

Answered: You can control the grid cell background color using BeforeCellRender event: https://doc.daypilot.org/scheduler/cell-customization/ However, for displaying dynamic data it might be better to use even...
Questions 1-30 of 2495 Next