Change Theme Settings
Change Theme Settings
Show All Themes


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

The DevExpress ASP.NET Gantt control (ASPxGantt) 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.

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
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxGanttDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxGanttDemos