Active Questions
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...
Hebrew Calendar
Answered: All the controls allow to override the headers with custom text/html. The internal calculations need to be based on the Gregorian calendar but you should be able to convert each date displayed to Heb...
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...
Testing for Overlapping Events with SQL
Answered: As far as I know, without the NOT that would be. SELECT eventid from events WHERE((event_end >= '" & newEventStartDate & "') AND (event_start <= '" & newEventEndDate & "'));" This is exactly the same
Zero Duration Events broken in version 7.0
Answered: Dan, everything looks good. Thank you for fixing this.
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 ...
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...
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...
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...
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(...
Style day of events.
Hello, I have chosen to use the calendar control along with Daypilot as per the examples given in the package. It all works perfectly but I was wondering if it was possible and if so how can it be ac...
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...
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 ...
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.
loadResources error
Answered: You are trying to connect to Microsoft SQL Server using SQLite ADO.NET adapter. You need to replace "SQLite*" with "Sql*".
BeforeCellRender
Answered: It's now fixed in build 5425. See the sandbox: http://mvc.daypilot.org/sandbox/
Right click DayPilotMenu not open in IE9
I am new to day pilot scheular, I am evaluating day pilot light version. I have added following events, to view the context menu in time range section. It work fine with IE8 and FF. but. Nothing happ...