search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Event Move

Asked by Anonymous
10 years ago.

I've followed the tutorial and added an event handler and set event move handling like so:

but whenever I load the page with the DayPilot Scheduler control it seems that moving an event is still disabled, I get no change of cusor when i mouse over / hold mouse down on an event to move it.

My event handler in VB looks like:

Public Sub DayPilotCalendar1_EventMove(ByVal sender As Object, ByVal e As DayPilot.Web.Ui.Events.EventMoveEventArgs)

dbUpdateEvent(e.Tag("id"), e.NewStart, e.NewEnd, e.NewResource)

End Sub

Is there anything else im missing here?


Comment posted by Anonymous
10 years ago.

Update: It seems that move is actually working but the handle to grab the event is only the top left corner of the duration bar and not the whole thing, is there a way for me to change this?

Comment posted by daomingzu
9 years ago.


Comment posted by daomingzu
9 years ago.


Comment posted by Anonymous
9 years ago.

The default EventMoveMargin is 5
Try setting it to a larger number i.e. EventMoveMargin = 100

Might be a good idea to update the tutorial because I got stuck on the same issue.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.