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

Validation

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

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.

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
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