Home Unanswered Active Tags New Question

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
Asked by Tom 4 years ago.
Replies
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).
Comment posted by Dan Letecky 4 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java