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 » How To » Enabling the move event client side.

Enabling the move event client side.

Hi Dan,

Is it possible to enable the move event on the client side?

I have an event in the scheduler and when you right click to move it, it performs a javascript function to change the colour to show its in move mode.

But I need to enable the move function, I know you can disable the TimeRangeSelectedHandling client side so just wondering if the same can be achieved with the event move.

Thanks

Tom
Tom - 5/9/2008 12:18:16 PM
Yes, you can enabled it by setting dpc1.eventMoveHandling="CallBack" or "PostBack" (case sensitive). This will enable event moving for all events.

Another option would be to always handle using JavaScript and check some flag variable in your event handler (this is more safe for the future since the first option is not documented; remember that only the first option can enable/disable moving cursor).
Dan Letecky - 5/13/2008 5:40:57 PM
Post reply