Answer posted by Dan Letecky [DayPilot] 12 years ago.
You need to handle the EventMove event on the client side:
<DayPilot:DayPilotCalendar ....
ClientObjectName="dpc"
EventMoveHandling="JavaScript"
EventMoveJavaScript="ask(e, newStart, newEnd);"
/>
<script type="text/javascript">
function ask(e, newStart, newEnd) {
if (confirm("Do you really want to move this event to the new location?")) {
dpc.eventMoveCallBack(e, newStart, newEnd); // invoke the server-side event
}
}
</script>
Answer posted by Jaycee 12 years ago.
Thank you. It's working...
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.