DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » Features » Client side events after an item has been created in DayPilotVertical

Client side events after an item has been created in DayPilotVertical

It would be convenient to have an event that enables me to register the createdDIV (calender) element as a drop target for external drop events. Likewise it would be nice to have a clientside event that firesafter all the calendar_BeforeEventRender events have fired so that the added markup can be registered as drop sources.
Ewart Nijburg - 6/10/2007 9:37:22 PM
That sounds interesting although it might be a bit challenging (drag & drop in JavaScript is not so straightforward as in WinForms).

Can you please describe your use case (here or at daypilot @ annpoint.com) so I can discuss the possible solutions?
Dan Letecky - 6/11/2007 10:48:43 AM
I've been thinking about your suggestion and I see two scenarios where this is helpful:
  • drag & drop between two DayPilot instances (that's probably what you want to achieve)
  • drag & drop of events that are available outside of DayPilot (maybe as a list of unplanned events that need to be moved to a specific time and resource)
I'll do some tests for both scenarios. Both seem to be doable, I'll add them to the roadmap when I'm finished with the prototypes.
Dan Letecky - 6/11/2007 1:38:22 PM

Hi Dan,

Thanks for the quick response. I just changed to the vertical dayplanner for a pilot project which involves planning rides for a taxi companytransporting disabled persons. The dayplanner is used to plan routes on weekdays and the drag and drop functionality is meant to be used to drag external ride objects into the planned route. This proces makes planning very easy to comprehend

The functionality i'm looking for is being able to register the route as a drop target, which accepts rides from outside the dayplanner control. At the same time I'm rendering the contained rides through the beforerender event and I also want to be able to register those rides as drop sources so that they can be drag from one route to another.

Drag drop isn't very difficult to implement by means of the following library: www.openrico.org

Thanks for your efforts, the customer (Deeporange) has already purchased the control for use.

Ewart Nijburg - 6/12/2007 10:36:14 PM
Thanks for the explanation. I will analyze it a little bit. I will post the possibilities and time schedule here when I'm done.
Dan Letecky - 6/13/2007 7:51:19 PM
Post reply