You can limit the directions in which the event can be moved in BeforeEventRender event handler.

  • Use e.EventMoveVerticalEnabled and e.EventMoveHorizontalEnabled properties to forbid moving in the specified direction. 
  • Moving can be disabled at all using e.EventMoveEnabled.
  • These values do not override the global EventMoveHandling setting (it must not be set to Disabled).

ASP.NET WebForms

protected void DayPilotScheduler1_BeforeEventRender(object sender, DayPilot.Web.Ui.Events.Scheduler.BeforeEventRenderEventArgs e)
{
  e.EventMoveVerticalEnabled = false;
}

Demo

ASP.NET MVC

protected override void OnBeforeEventRender(BeforeEventRenderArgs e)
{
  e.EventMoveVerticalEnabled = false;
}

Demo

JavaScript

<div id="dp"></div>
<script type="text/javascript">
  var dp = new DayPilot.Scheduler("dp");
  dp.durationBarVisible = true;
  dp.durationBarMode = "PercentComplete";
  dp.events.list = [
    {
      start: "2013-03-25T00:00:00",
      end: "2013-03-25T12:00:00",
      id: "123",
      resource: "A",
      text: "Event",
      moveVDisabled: true,
      moveHDisabled: false
    }
  ]
  // ...
  dp.init();
</script>