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

Questions Tagged

DayPilotScheduler - Name of the event

Hello, First of all, I would congratulate developers of this solution, this is a very very nice component ! I am trying to use the scheduler in order to display some bookings in the wallchart. But my...

Disable cell selection

Answered: At this moment it's only possible to disable the cells for the whole row by marking it as parent using PreventParentUsage. See also: http://code.daypilot.org/34704/restaurant-table-reservation-tutori...

AM/PM Incorrect on Event Header with "Clock12Hours" Setting

Answered: This bug is fixed now in the latest codebase. The fix will be included in the next release. Thanks for reporting the issue!

How to Zoom out to year(s)

I have 10+ years of data and I am trying to Zoom way out in years. I am following the sample located here, http://forums.daypilot.org/Topic.aspx/454/how_to_achieve_the_zooming_feature_in_scheduler_co...

ASP.Net MVC3 -- How to update "StartDate" field from jQuery DatePicker control?

Answered: You should replace dpc.startDate = newDateTime; dpc.callBack2('Init'); with this: dpc.commandCallBack("goto", { "start": start }); In the server-side OnCommand handler, detect e.Command ==...

Scheduler event with milestones

Answered: In the 7.1 release, it's possible to add custom "active areas" to the event. It's a rectangular area that is displayed when you move the mouse over the event. In order to place the area at the right ...

NuGet Integration

Answered: It looks like a good idea. I'm adding it to the wishlist.
mvc

Vertical Scroll

Answered: HeightSpec="Max" means the height will never be more than Height value (in pixels). You can try HeightSpec="Full". You can also set the initial scrollbar position using ScrollPositionHour property.

Calendar - Weekend different color

Answered: You can change the color of the background cells using BeforeCellRender event handler. You can change the cell CSS class using e.CssClass, you can also change the IsBusiness status using e.IsBusiness...

Vertical scrollbar

Answered: You can control the vertical scrollbar using HeightSpec property: http://www.daypilot.org/calendar-control-height-and-business-hours-heightspec.html

Let users know when they already have an event scheduled for a particular time

Answered: There are two possible approaches: 1. Check the new event against the database before saving it. For a simple scenario (i.e. no recurring events) you can use the same logic you use for selecting even...

How to show the different color for the different kind of activity

Answered: You can use BeforeEventRender event handler: protected void DayPilotMonth1_BeforeEventRender(object sender, DayPilot.Web.Ui.Events.Month.BeforeEventRenderEventArgs e) { string status = (string)...

Is there a way to print a DayPilot Month, Calendar or Scheduler for MVC

Answered: Image export is not implemented for the MVC version yet. It might be available in the 7.2 release.

Date and Time

Answered: You will need to join these two fields in the select command: http://stackoverflow.com/questions/700619/how-to-combine-date-from-one-field-with-time-from-another-field-ms-sql-server But I would recom...

Howto use a theme

Answered: You need to to include the .css file: <link type="text/css" href='Themes/scheduler_white.css' rel="stylesheet" /> Enable CssOnly and specify the class prefix: <DayPilot:DayPilotScheduler ...

Detailsview without a SqlDataSource

Answered: You can use ObjectDataSource instead. See also: http://stackoverflow.com/questions/1735096/using-a-detailsview-without-sqldatasource Alternatively, you can replace DetailsView with individual control...

Popup Window

Answered: In the Lite version, the start, end, and column variables are not available in TimeRangeSelectedJavaScript. You need to use {0} and {1} strings: {0} will get replaced by the time range start and {1} ...

Scroll to resource (Client-Side)

Answered: Since build 2668 you can do the following: dps.scrollToResource("C"); You can download the latest build in the sandbox: http://www.daypilot.org/sandbox/ See also: http://www.daypilot.org/daypilot...

Displaying from other table

Answered: You can customize the event HTML using BeforeEventRender event handler. The original DB row is accessible using e.DataItem property. Example: protected void DayPilotCalendar1_BeforeEventRender(...

Calendar Day Colour

Answered: You need to replace the logic in isThereEvent() with an actual check against your data set. You will need to test for overlaps of the range define by date and date.AddDays(1) with the events. You can...

How to customize the column header of calendar control?

Answered: The automatic height adjustment is available since 7.1 release (HeaderHeightAutoFit property): See the release notes: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-1.html Demo: http://w...

How Do I Export A Calendar With Events Populated From a DB?

Answered: You should load the events before calling Export: DP_MonthCalendar.DataSource = yourDataTable DP_MonthCalendar.DataBind() Dim img As System.IO.MemoryStream = DP_MonthCalendar.Export(System.Drawin...

protected DataTable getData()

Answered: See a LINQ example here: http://kb.daypilot.org/56894/how-to-use-daypilot-scheduler-with-linq-to-sql/ var db = new DataClassesDataContext(); var events = from ev in db.Events where...

Microsoft JScript runtime error: DOM Exception: HIERARCHY_REQUEST_ERR (3)

Answered: This is a bug of the Month control which is fixed in the latest sandbox build: http://www.daypilot.org/sandbox/ The fix will be included in the next release.

Set parent resources background color

Answered: This ability to customize cells is not yet implemented in the CssOnly mode. It will be available in the next release: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-1.html As soon as it ...

Javascript Error in Version 7

Answered: This error (Calendar) should be fixed now in build 2657. You can download it in the sandbox: http://www.daypilot.org/sandbox/ The Month control doesn't use a reference to this.nav.mid at all. If you ...

Zero Duration Events broken in version 7.0

Answered: Dan, everything looks good. Thank you for fixing this.

loadResources error

Answered: You are trying to connect to Microsoft SQL Server using SQLite ADO.NET adapter. You need to replace "SQLite*" with "Sql*".

Use Duration Bar as "Percent Complete"

Answered: It's now implemented in the latest sandbox build (2662). See here: http://www.daypilot.org/sandbox/Scheduler/PercentComplete.aspx Use DurationBarMode = "PercentComplete" and e.PercentComplete = 50; i...

Changing the Color performance

Answered: Your code won't compile, since you never assign the variable "res" to anything. It also won't work, since only the cells matching the last row in the table will be set to business hours. If you're lo...
Previous Questions 3571-3600 of 5194 Next