Validation Modes

The Gantt control provides support to control the task scheduling. The start and finish dates of a task can be validated automatically or manually. The following validation modes can be set to the ValidationMode property in SfGantt:

  • Manual: Allows users to control the task scheduling and gives responsibility to track schedules on any task.
  • Auto: Calculates the start and finish dates of a task based on its task dependencies and non-working days.
<gantt:SfGantt ValidationMode="Auto">

</gantt:SfGantt>
this.Gantt.ValidationMode = ValidationMode.Auto;

NOTE

By default, the validation mode is set to “Manual”.