Questions Tagged
How to add resources columns to the calendar
Answered: Hi Martyn, In the Calendar control (http://www.daypilot.org/calendar.html) you need to use Columns property:
DayPilotCalendar.Columns.Add(name, id);
You can also define custom date for each colum...
Can't be able to select cell when event assign to cell.
Answered: You can control the row/column size and margin using the following properties: 1. Calendar (http://www.daypilot.org/calendar.html) ColumnMarginRight http://www.daypilot.org/calendar-column-margin.htm...
How to set the resource (scrollY) position.
Answered: On the server side, ScrollY and ScrollX properties are available. They hold the scroll position in pixels and you can update them (don't forget to call Update()). On the client side, you can read the...
ScrollPositionHour not working properly
Answered: It should be working as you describe, i.e. it will scroll to the set position after the initial page load. The default value is set to BusinessBeginsHour and you can override it as needed:
...
How change header in schedular
Answered: Yes, you can do it using BeforeTimeHeaderRender event. See also here: http://www.daypilot.org/daypilotscheduler-header-date-time-format.html
EventStart/End display on DayPilotMonth with ext overlapping?
Answered: Please try to add this: EventTextLayer="Top"
Error - The Request must start with JSON string
Answered: You will see this error if you try to open the backend URL in a browser. In order to show the Calendar you need two URLs (corresponding to two controller actions): 1. The first one will show a view w...
e.Value not passed on first eventclick after page load
Answered: It looks like the issue was the UpdatePanel for some reason... Any thoughts why? Once I removed that and the DayPilot Month control wasn't wrapped inside it, the postback e.Value was passed through c...
DayPilot Scheduler for vb.net and SQL server
Answered: Martyn, The Scheduler in the Lite version doesn't support the built-in scrollbars and it doesn't support event moving using drag&drop. That's why you can't access SetScrollX() and EventMove event. Yo...
Choosing which ContextMenu to use
Answered: Yes, this is the correct way. You should set a default menu using ContextMenu. In this case it's either "menu_priveledged_user" or "menu_disallow". Then you should override this default value using O...
Calendar: Integrated Message Bar
Answered: At this moment you have to switch to manual message displaying using .message() - http://api.daypilot.org/daypilot-calendar-message/, AfterRenderJavaScript, and Update(object): .aspx
<DayPilot:DayP...
IE 8 - Events not resizing
Answered: John This issue is now fixed in 6.9 SP2 release: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-6-9-sp2.html Thanks for reporting the issue.
Source code does not compile?
Answered: It looks like the VS 2010 project is outdated. It's now fixed in the code and the fix will be included in the next release. You can try to open it through the VS 2008 solution (DayPilotLite2008.sln) ...
Modal CSS
Answered: Yes, you can load the stylesheets directly in the page loaded using the DayPilot.Modal.showUrl() - e.g. Edit.aspx. Pages open in an iframe don't use the stylesheets of the parent page.
Simple Database Question
Answered: Hi brandon, Yes, you can load the data directly to Events property. It accepts any IEnumerable. You only need to map the object properties using DataIdField, DataStartField, etc. See an example (usin...
ShownonBusiness = false gives erratic behaviour on Sat/Sun?
Answered: OK, just found this link from a few years back: http://kb.daypilot.org/79065/how-to-show-business-hours-on-weekends-in-scheduler/ But do we really have to override like that? It seems like there shou...
How do I empty a DayPilot calendar please?
Answered: You can use an empty list as a DataSource:
DayPilotCalendar1.DataSource = new ArrayList();
DayPilotCalendar1.DataBind();
This will display an empty calendar without any events.
New Notify Model (6.8 SP1) issues with events
Answered: Mike, All the issues should be fixed now in build 2508 (see the sandbox at http://www.daypilot.org/sandbox/ and the list of changes here - http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-...
How do I collapse all day events into single row?
Answered: You will have all these features if you upgrade to the Pro version: http://www.daypilot.org/buy.html
How do I disable all pop-ups?
Answered: Set EventClickHandling="Disabled" to deactivate event click handling and TimeRangeSelectedHandling="Disabled" to deactivate background cell click handling. These properties are new (modified) in DayP...
How to disable event time on DayPilotScheduler?
Answered: Until the special switch is added to the Scheduler it can be customized using BeforeEventRender event handler:
protected void DayPilotScheduler1_BeforeEventRender(object sender, DayPilot.Web.Ui.Eve...
How to set calendar to show current date?
Answered: You have to do it in the code behind, not in the .aspx page:
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
DayPilotCalendar1.Star...
VB .Net and no database.
Answered: You need to store the list of events somewhere (at least in memory, or in a XML file). This list needs to be persisted between requests. You add the event to the calendar by adding it to the list and...
add children to resources in daypilot shedular
Answered: Please see here: http://kb.daypilot.org/10298/how-to-load-scheduler-resource-tree-from-a-database-sql-server/
How to put the current date as first view on the DayPilotScheduler?
Answered: You can do it using SetScrollX() method: protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
DayPilotScheduler1.SetScrollX(DateTime.Today...
How to use Hour cell group on DayPilotScheduler
Answered: What's the CellDuration value? It must not be greater than 60 for CellGroupBy=Hour 60 must be divisible by CellDuration (without remainder) The following values will work: 10 20 30 60 The following v...
Scripts use IndexOf on arrays, not available in IE8?
Answered: It should be fixed now in build 6.9.2499. Please see the sandbox: http://www.daypilot.org/sandbox/ And also here: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-6-9.html
How to show DayPilot:DayPilotScheduler Bubble using JavaScript
Answered: Please see here: http://kb.daypilot.org/29719/how-to-show-a-calendar-event-bubble-using-javascript/
how do i open bubble on Click activation i m using earlier version of daypilot (5.8)
Answered: See here: http://kb.daypilot.org/29719/how-to-show-a-calendar-event-bubble-using-javascript/
Microsoft JScript runtime error: 'offsetLeft' is null or not an object in daypilot
Answered: Hi, i am using DayPilot version 6.6.2359.1 and also try latest released version.