Hi there. First of all, sorry for a late response.
You can activate an HTML element to be draggable into DayPilot by adding the following attribute (this is from Demo/Calendar/ExternalDragDrop.aspx sample):
onmousedown='return DayPilotCalendar.dragStart(this.parentNode, 60*30, "123", this.innerHTML);'
The parameters are as follows:
- this.parentNode - the element that should be deleted after successful drop into the calendar
- 60*30 - duration of the event in seconds (necessary for giving the event 'shadow' the right size during dragging)
- "123" - ID of the event (corresponds to DataValueField)
- this.innerHTML - event name (corresponds to DataTextField)
After dropping such an event into the calendar it will generate a regular move event (it can be handled by JavaScript, PostBack, or CallBack).
Is that what you were looking for?