Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Validation

Title
Start Date
Due Date
CollapseJohnson Residence Construction Project1/1/20244/30/2024
 CollapsePlanning and Pre-Construction Phase1/1/20241/18/2024
   Architectural Design and Site Planning1/1/20241/15/2024
   Engineering and Final Blueprint1/8/20241/15/2024
   City Permits and Contracts1/15/20241/18/2024
 CollapseConstruction Phase1/18/20244/9/2024
   Grading and Excavation1/18/20241/22/2024
   Demolition and Removal1/19/20241/23/2024
   Foundation and Concrete1/22/20241/29/2024
   Rough Framing and Carpentery1/25/20242/5/2024
   Inspection (Structure)2/5/20242/5/2024
   Electrical Rough-in2/6/20242/19/2024
   Plumbing Rough-in2/19/20242/19/2024
   Heating and A/C2/19/20242/26/2024
   Drywall2/25/20243/10/2024
   Painting (Exterior)3/7/20243/21/2024
   Interior Carpentery (Interior)3/17/20243/29/2024
   Flooring and Interior Paint3/26/20244/9/2024
 CollapseFinal Phase4/9/20244/30/2024
   Review-Punch List4/9/20244/23/2024
   Final Inspection4/24/20244/24/2024
   Final Paperwork and Documents4/24/20244/30/2024


The DevExpress ASP.NET MVC Gantt (GanttExtension) allows you to validate relationships between tasks and handle errors. Set the EnableDependencyValidation property to true to enable task validation.

The Gantt control supports the following dependency validation rules:

  • Finish to Start (FS) - A successor task's start point should equal the preceding task's end point.
  • Start to Start (SS) - Successor and predecessor tasks should begin at the same time.
  • Finish to Finish (FF) - Successor and predecessor tasks should end at the same time.
  • Start to Finish (SF) - A successor task's end point should equal a preceding task's start point.

Dependency rules specify that you can move only the successor to create or change the gap between tasks. Set the EnablePredecessorGap property to true to increase/decrease the gap between the tasks with a predecessor.

The Gantt control also has the AutoUpdateParentTasks property that enables validation for parent&child relationships:

  • A parent task's duration equals a summary duration of its child tasks.
  • A parent task and its first child starts at the same time.
  • A parent task and its last child ends at the same time.
  • A parent task's progress is a summary progress of its child tasks.

The control processes changes in task values before they are saved to a database. The control displays a popup window with a list of available actions if an error can be handled in several ways.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxGanttDemos