Questions Tagged
Am getting error for the daypivot
Answered: Drag and drop event moving (and EventMove handler and related properties) are only available in the Pro edition. See also here: http://doc.daypilot.org/calendar/event-moving/
optical bug when i drag an event
hi! i have an event with "moveHDisabled". When i drag this event i can drag this event to the left cell. hope you know what i mean ;) can send you a screenshot...
How to preserve calendar data on page?
Actually when I select calendar date then calendar then calender data did not show on page. Pls help to solve this.
How can I show calendar sunday to saturday in daypilot month calendar?
Answered: Use WeekStarts="Sunday". See also: http://doc.daypilot.org/month/first-day-of-week/
How to move an event programmatically?
Answered: If you modify the event in .events.list and call update() it should be updated properly (as all events will be redrawn as part of the update). See also: http://api.daypilot.org/daypilot-scheduler-upd...
Passing Data to OnEventMove with e.Data
Answered: e.Data holds custom data sent from the client side when invoking the EventMove event manually using .eventMoveCallBack(). See also: http://api.daypilot.org/daypilot-scheduler-eventmovecallback/ If yo...
How to set color multiple selection in DayPilot Month
Answered: You can use CellSelectColor property to specify custom cell selection color. This is one of the few elements that can't be styled using the CSS theme. It will be added to the themes soon.
Export WYSIWYG
Answered: For true WYSIWYG export including CSS you need to use a browser. Take a look at PhantomJS: http://phantomjs.org/ It works very well but it's a standalone process (no native .NET support).
DayView change the start date to dynamically get value from calendar control
Answered: 1. If you want to use <asp:Calendar> control you will need to place both controls inside an UpdatePanel. In the Calendar.SelectionChanged event handler, call:
DayPilotCalendar1.StartDate = Calendar...
My big font size text cannot display all text because timing is too short.
Answered: You can insert custom HTML into the event cell so it will add a scrollbar (see overflow: auto). You can also increase the cell height using CellHeight property. See also: http://doc.daypilot.org/cale...
How to set DayPilot calendar DayBeginsHour and DayBeginsHour dynamically
Answered: Not all properties are synchronized during the CallBack update - forcing the full update using DayPilotCalendar1.Update(CallBackUpdateType.Full) doesn't help. 1. You can place the Calendar control in...
Using div in bubble
Answered: It looks like your styles use position: absolute. This causes the bubble HTML content to be taken out of the page flow - it doesn't extend the bubble div height. Try using position: relative instead.
Is DayPilot right for this job?
Answered: There are three views/controls that will let you display one cell per day: 1. Navigator (a small monthly calendar that usually serves as a date picker) http://doc.daypilot.org/navigator/ 2. Monthly e...
How to change colour for different days for the column events?
Answered: In the current release (4.1), you will have to use e.InnerHTML in BeforeEventRender event handler to insert a div with a custom background color specified. The next release will fix apply the color s...
How to change the column text header name?
Answered: There is no built-in mechanism for customizing the column header in the Lite version. You will have to modify the source code.
var modal = new DayPilot.Modal(); JavaScript runtime error: Object doesn't support this action
Answered: Please check that the modal.js script is included properly. You can download it here: http://code.daypilot.org/81367/daypilot-modal Also, make sure that it is initialized using the new keyword:
var...
adding additional attributes to a resource ?
Hi! I want to add f.a. "resourcetype" to a resource. And then, i want to read this attribute when the user drop an event, f.a. in the method "onEventMove". Is this possible? THANKS!!! Daniel
Problem with starting on the first day of the week
Answered: I added the day of the week to the method and it worked: dp.scrollTo(new DayPilot.Date().firstDayOfWeek(1));
External Drag and Drop
Hello, when I set below setting DayPilotScheduler1.ViewType = DayPilot.Web.Ui.Enums.Scheduler.ViewTypeEnum.Days and Drag even over daypilot scheduler giving "TypeError: this.rows[e.part.dayIndex] is ...
Having issue for daypilot calendar to display database values based on the date and time from database
Answered: The START_DATE and END_DATE fields are correct but why do you store time separately in START_TIME and END_TIME? The type of START_DATE is "datetime" and it will allow you to store both date and time ...
Changing start date of event
Answered: Changes of the key properties (id, start, end, resource, text) doesn't have an immediate effect because it would cause problems if you modified events that are already visible in the calendar/schedul...
Show html bubble on event click in Scheduler
Answered: Using DayPilot Pro 7.7.787 and later (see the sandbox at http://javascript.daypilot.org/sandbox/) you can do this:
dp.onEventClicked = function(args) {
new DayPilot.Bubble().showHtml("...
Strange behavior of DayPilot.Locale datePattern
Answered: Please try version 7.7.759 from the sandbox: http://javascript.daypilot.org/sandbox/ "ddd" pattern string is not implemented in prior versions.
Deleting event
Answered: Yes, there is no built-in onEventDelete event. You can call dp.events.remove(e) and then notify the server:
dp.events.remove(e);
$.post("delete", { e: e.id() }, function() {
dp.message("D...
asyncpostbacktrigger with daypilot navigator
Answered: The navigator fires two events: 1. TimeRangeSelected when you click a date 2. VisibleRangeChanged when you click "next" or "previous" links at the top You need to set TimeRangeSelectedHandling to "Po...
Display custom string in time headers
Answered: You can customize the header HTML using onBeforeTimeHeaderRender event handler:
dp.onBeforeTimeHeaderRender = function(args) {
if (args.header.level === 1) {
args.header.html = args.header....
Daypilot lite 4.1 is free
Answered: Yes, you can download it here: http://www.daypilot.org/download.html
How to change the code to display varchar and date type data instead of two datetime type for the daypilot calendar?
Answered: If you want to customize the text that is displayed in the event box you should use the BeforeEventRender event.
protected void DayPilotCalendar1_BeforeEventRender(object sender, BeforeEventRenderE...
Day Pilot Event Bubble Bug When using Odbc datatables
hi i am using an sql table for my event data with additional data tags and populating an event Bubble on hover with Protected Sub EventBubble1_RenderEventBubble(ByVal sender As Object, ByVal e As Day...
How can I get the Scheduler to show that my event is longer than displayed in the current view?
Answered: This is not yet supported but I'm adding it to the wishlist.