Hi,
I want to move a Event with ctrl Key Down.
I copied the code from documentation.
.aspx
EventMoveHandling="CallBack"
ClientObjectName="dps"
OnEventMove="DayPilotScheduler1_EventMove"
EventMoveJavaScript="dps.eventMoveCallBack(e, newStart, newEnd, newResource, {ctrl: ctrl, shift: shift} )"
.cs
protected void DayPilotScheduler1_EventMove(object sender, DayPilot.Web.Ui.Events.EventMoveEventArgs e)
{
bool ctrl = (bool)e.Data["ctrl"];
// my code for update
}
When I execute the code, I have a NullReferenceException to the line " bool ctrl = (bool)e.Data["ctrl"]; "
I don't understand why ?
What I forgot in my code ?
Please help me.
Thanks